iOS Dev Quick Ref

Needed a place to take notes.

Change Product Name
1. From your “Project navigator”, go to your “Supporting Files/InfoPlist.strings” file.
2. Add “CFBundleDisplayName=”Your New Product Name”;”.
3. Repeat this for any language you have (en.lproj/InfoPlist.strings, cn.lproj/InfoPlist.strings, etc)

Open Link in Native Browser

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.google.com"]];

Similarly, to open the mail client:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"mailto:someone@domain.com?subject=a+b"]];

RSS feed for comments on this post · TrackBack URL

Leave a Comment