iphone

Iphone - Video Recording Applications - Use Camera Roll or store in app / database?

For those of you making iphone applications that record video Are you utilising the camera roll for storage and then indexing the asset URL? Or are you somehow saving the video to the app / bundle / database? Does the stackoverflow community think it is viable to just store the asset url for replaying or that one should somehow store...

Problem when using UIImageView's or UIButton's inside a UIScrollView

I'm using a UIScrollView to hold a varying number of images sized at 80x80, and when a user taps one I want it to launch into a modal view showing it fullscreen etc. The problem I'm having is detecting touches on the images inside the scrollview. I've tried two ways so far, but each one has an issue. I'm posting both ways but I only need...

PhoneGap and Appaccelerator apps are legal for iPhone 4?

I want to create mobile apps for the iPhone and Android and Im wondering if PhoneGap and Appaccelerator are allowed in iPhone 4 due to the section 3.3.1. Do they know the case now? ...

Application session in iOS?

I need to create an "login application" but i dont known about session in iOS. My application need login to my website (PHP based website) to get data. I dont known a lot about session in iPhone. Anybody can tell me how to create and manage application session in iOS? Thanks!!! ...

How to add a tag/group in the calendar in iPhone?

Hi, everyone, I want to ask a question about the iPhone application. I want to write a application to let the user to enter their activities in a page. For example, the activity name, date, time, group. After then, I want to add event in the iPhone calendar. However, I find that it is impossible to add the group in the iPhone. Therefor...

Performing App Delegate method on main thread from secondary thread

I have a Iphone app with 2 threads. One is listening to the server, and the other is doing UIKit, OpenGl stuff. I need to run a method that updates a view from the secondary thread thats listening to a server on the main thread that handles the views so I used performSelectorOnMainThread:@selector"createGuessingView" withObject:nil wai...

Application Launch High Res Image

In the apple docs it states The portion is the optional string @2x and should be included only on images intended for use on high-resolution screens What are high-resolution screens? iPhone 4's? Do I need to include one? ...

NSString length limit

How can I limit the length of a NSString? I would like to keep it below to equal to 100 characters/ ...

Failed to create 5th http connection in iOS4

Hi all, In OS3.1.3, I can create 6 UIWebView in a single view to watch 6 MJPEG stream simultaneously. For the same application, it can run in iOS4 without any code modification. But it can only show 4 liveview feed at the same time. And I cannot send any request afterward. Is this a limitation for iOS4 for multitasking? Or I use some...

iPhone 4 apps automatically scale up on iPad?

I thought I read/saw/heard something saying that apps built for iPhone 4's Retina Display would automatically run at 640x960 when installed on an iPad. However, can't find any documentation on that specific feature, and my app still runs at 320x480 when installed on an iPad. Is there a step I've missed to make this happen? Or did I jus...

How to run the program regularly?

Hi, everyone, I want to ask a question about the iPhone application. I am writing a program which can upload some information to a server. However, the user has to click a button before the upload. Therefore, is it possible for the application to upload the data to server regularly after the user only click one time of the button? It m...

PhoneGap and Appcelerator store data locally and remotely?

I wonder if I could store data with PhoneGap and Appcellerator both locally and remotely (postgresql in my web application)? Cause it's gonna be a realtime app that has to sync data between the mobile and remote backend server. ...

C++ Countdown timer for the iPhone

I am trying to write an ultra-portable game in C++. In one of the modes of my game, it will be timed - counting down. How would I go about writing that in C++, without using NSTimer? Thanks in advance. ...

Flip UIView pre-iOS 4 from left to right

I know there's a simple UIViewAnimationOptionTransitionFlipFromLeft and way to implement that, but how do you do something similar (i.e. flip a UIView over) pre-iOS 4, like on the iPad, for example. ...

Flipboard or iBooks style animation

Are there any examples out there to emulate page turning like iBooks or Flipboard? ...

Show tab bar after its hidden

Hi folks, Is there any way to show a tab bar after it has been hidden? Got a tabbar-nav structure. For one of the tabs, I need to hide the tab bar for its 2nd and 3rd level view. But at the same time I will need to show its 1st and 4th view. The sample code from Elements isn't really applicable here I think. Any help is greatly appr...

Animation while adding subview by modifying bounds "shoots over"

Goal is to animate a subview while adding it. [[videoDetailsViewController view] setBounds:CGRectMake(0, -480, 320, 480)]; [UIView beginAnimations:nil context:nil]; [UIView setAnimationDuration:0.3f]; [self.view addSubview:[videoDetailsViewController view]]; [[videoDetailsViewController view] setBounds:CGRectMake(0, 0, 320, 480)]; [UIVi...

Get data from web in iOS.

I want to create an application send an request like "http://www.mysiteabc.com/[email protected]&password=123321" and read data return from a web. Anybody can show me how to do this. Thanks ...

Objective-C pre-compilation error

Hi all, I'm compiling a big iPhone app and am getting 24 of the same error... cc1plus: note: obsolete option -I- used, please use -iquote instead cc1: error: -I- specified twice This error is repeated 24 times for the same prefix header file. Any idea what's going on? Thanks! ...

Show modal upon receiving push notification

I need to show a notification modal whenever a push notification is received (while the app is running). My app has a tab bar, and I've gotten this to partially work by pushing the notification modal onto the tab bar controller. - (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo { ...