So I know this has been beaten to death but I still can't figure out a solution.
I have my UIApplicationExitsOnSuspend set to <true/> in the Info.plist and still both in the simulator as well as on an iPhone 4 device, the app goes into standby instead of terminating?
Any ideas of what else could one do to get it to terminate? Perhaps are there methods that I need to remove from the app delegate? Any ideas?
hi all
i am new in the field of iphone development ....
i am working on a game in which when user touch on a image then a nib file must be pop up on the scree and i am unable to do that..
please help provide some sample code or any kind of help
thanks in advance
I have a site im running through an iframe in a uiwebview for a native iphone app, the problem is that I guess since the iframe and the html page are on different servers the session will not keep its state. My thought is to store the session data to the database and then just use the stored session data. Is this possible? If so can anyone send me to a guide on how to set up stored sessions with zend framework, I can't seem to find a good example. thanks
In an iPhone app, how do I keep the software keyboard from obscuring buttons, or UITextView fields in a View?
I've got the following layout:
View -\
UITextView
UIButton
... but, the keyboard obscures the button at the bottom when I'm typing in the UITextView. I tried using the following:
View -\
UIScrollView -\
UITextView
UIButton
... but, the window does not scroll as expected, so the user has no way of clicking the button.
How is this normally handled?
Need a ref to the window in which a view is inside (no matter how deep inside). Usually there is only one window in an iPhone app. How would I access that the most easy way? Is there something cooler than getting the app delegate to access the window?
Is there anyway to store audio on an iphone app and then grab that audio file and play it through code. Does anyone have a tutorial to point me to do something like this?
Hi
I am developing an application for iphone that will pick an image from photo library and save it at some other place.Now in my application i will be using this image later on from that place.
So can anybody suggest the folder where should i save this image so that the application works perfectly on device also.
In my app I've been using the now deprecated shouldAutoRotateToFace method. Now when using the iOS 6 simulator, all of my subviews are rotated to portrait orientation while the device is in landscape. Does anyone have any idea what could cause this? I've already tried replacing should autorotate in my main view controller with the supportedOrientations method (or whatever it is that you're now supposed to use instead).
I know that there are many API's like json,Facebook,twitter etc for developing related applications on iphone....but how to understand an API?This might be scilly question but I want to know how? what would you suggest for for a beginner?
I am doing an iphone application in which i need to provide autoshare option to share automatically the text in an UIView in facebook when we click save button. i will save the facebook username and password of the user in datbase and retrived and want to assign for facebook and password without FBDialog... is it possible? Can anyone help me?
I´m looking forward to launch a mobile application for Android, iPhone and maybe other platforms like Blackberry, Symbian, ... too in the future.
What do you think is the best way to promote this application?
Is setting up a website; provide a screencast with the features; running ads on ad networks enough or are there other ways too ? What ad networks you can suggest ?
I have a language toggle in my app and it would be really easy to manage if when the user switches language I could present an activityIndicator and reinitialize all the views of the app with the new language default. Sort of how the iPhone settings manage language changes. Is there an easy way to do this?
Hello :)
I want to make an iPhone OS app for a Wordpress blog, and I'm unable to figure a way to grab the data from the blog.
The XML-RPC doesn't seem to have an anonymous read-only mode
The RSS feed has truncated posts
So, if anyone managed to make it, please help me ;)
I'm about to create a function which adds to NSDateComponents together is there any advantage to putting this in a C style function or should it go in a Obj-C method?
Is there ever a reason to use one rather then the other or should I always stick to Obj-C?
BTW: Not that it makes any difference I'm sure but this is for an app on the iPhone
Many thanks
I am trying to add unit tests to my iPhone project in Xcode. Everything works, its great. Except when I am adding a class.m that uses CGRect (or other structs, CGPoint etc) to the unit test target (under "Compile Sources") - I am getting a compilation error: "'CGRect' undeclared (first use in this function)". I tried messing with my unit test target in various ways, but so far I haven't been able to get past this. What am I missing?
I am developing an iPhone application in which i need to connect with twitter. can i do this using twiter api key? If possible how to get the twitter api key?
I am trying to learn iPhone/iOS programming. I have an UIPickerView that should dispay its selected row as soon as it becomes visible (it is contained on a flippSideView).
Unfortunately, the flipSideViewController's awakeFromNib is not called. It is too early to call [pickView selectRow ..] from viewWillLoad (the pickView does not exist at that time), and somewhat too late to do it in viewDidAppear.
So, how can I make the pickerView display the selected row as soon it becomes visible?
HI,
I have create my iPhone apps but i have a problem.
I have a classViewController where i have implemented my program.
I must alloc 3 NSMutableArray but i don't want do it in a grapich methods.
There isn't a constructor like java for my class?
Thanks so much and sorry for my english XP
// I want put it in a method like constructor java
arrayPosizioni = [[NSMutableArray alloc]init];
nomePosizioneCorrente = [NSString stringWithFormat:@"noPosition"];
Hello All,
How to Store Large size Images into iPhone Application?
Images are taken from UIImagePickerController but saving into Database and retrieving from
Database crash the application.
I want to push a landscape view from within a uinaviagtioncontroller, whose initial view is in portrait...
So you click a button, or tableviewcell, and the screen rotates 90° into the new view..
How would I manage that?
(note: i am not interested in what rotation the user is holding the device)
I'm trying to build an iPhone app where I have a list of names, and can search by year to find the top ten names for that year. How would I need to set that up in xcode?