All Questions

473
votes
30answers
146841 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...
138
votes
5answers
35414 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...
40
votes
3answers
14395 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...
351
votes
29answers
186507 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
314062 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...
239
votes
7answers
119714 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...
294
votes
9answers
178756 views

Programmatically get own phone number in iOS

Is there any way to get own phone number by standard APIs from iPhone SDK?
291
votes
24answers
147533 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...
124
votes
3answers
120638 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....
296
votes
14answers
117222 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] ...

Previous Next