All Questions

471
votes
30answers
146306 views

How to develop or migrate apps for iPhone 5 screen resolution?

The new iPhone 5 display has a new aspect ratio and a new resolution (640 x 1136 pixels). What is required to develop new or transition already existing applications to the new screen size? What sho...
135
votes
4answers
34553 views

What is the best way to deal with the NSDateFormatter locale "feechur"?

It seems that NSDateFormatter has a "feature" that bites you unexpectedly: If you do a simple "fixed" format operation such as: NSDateFormatter* fmt = [[NSDateFormatter alloc] init]; [fmt setDateFor...
347
votes
29answers
185466 views

Determine device (iPhone, iPod Touch) with iPhone SDK

Is there a way to determine the device running an application. I want to distinguish between iPhone and iPod Touch, if possible.
229
votes
0answers
314007 views

iPhone development on Windows

Possible Duplicate: How can I develop for iPhone using a Windows development machine? Is there a way to develop iPhone (iOS) applications on Windows? I really don't want to get yet another...
236
votes
6answers
116702 views

How to store custom objects in NSUserDefaults

Alright, so I've been doing some poking around, and I realize my problem, but I don't know how to fix it. I have made a custom class to hold some data. I make objects for this class, and I need to t...
36
votes
3answers
13150 views

Exception Breakpoint in Xcode

How to add Exception Breakpoint in Xcode? int main(int argc, char *argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; int retVal = UIApplicationMain(argc, argv, nil, @"Ap...
290
votes
9answers
174854 views

Programmatically get own phone number in iOS

Is there any way to get own phone number by standard APIs from iPhone SDK?
289
votes
24answers
146300 views

How to detect iPhone 5 (widescreen devices)?

I've just upgraded to XCode 4.5 GM and found out that you can now apply the '4" Retina' size to your view controller in the storyboard. Now if I want to create an application that runs on both iPhone...
288
votes
13answers
114609 views

iOS UIImagePickerController result image orientation after upload

I am testing my iPhone application on an iOS 3.1.3 iPhone. I am selecting/capturing an image using a UIImagePickerController: UIImagePickerController *imagePicker = [[UIImagePickerController alloc] ...
123
votes
3answers
118532 views

How do I set up a simple delegate to communicate between two view controllers?

I have two UITableViewControllers and need to pass the value from the child view controller to the parent using a delegate. I know what delegates are and just wanted to see a simple to follow example....

Previous Next