All Questions

472
votes
30answers
146652 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...
137
votes
4answers
35098 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...
349
votes
29answers
186195 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
314040 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...
39
votes
3answers
13989 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...
237
votes
6answers
118624 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...
293
votes
9answers
177330 views

Programmatically get own phone number in iOS

Is there any way to get own phone number by standard APIs from iPhone SDK?
290
votes
24answers
147211 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
119940 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....
293
votes
14answers
116394 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