by Mobiledev | Mar 25, 2012 | iOS, iPad, iPhone, XCode
In iOS 5+ Apple deprecated usage of the device UDID. It appears Apple started rejecting apps for using the UDID. The way to get an unique device id was: NSString *UDID = [[UIDevice currentDevice] uniqueIdentifier]; It appears this might get your app rejected…...
by Mobiledev | Feb 29, 2012 | iOS, Uncategorized, XCode
Working with (user) preferences is pretty easy in Objective c. Preferences is just a phrase for persisting some info. If you need to save and load some small things, and you think a database is overkill, than user preferences might be just right. Below a helper class...
by Mobiledev | Sep 4, 2011 | iOS, XCode
The artwork for an iOS app can become a lot of work. Icons and images for different resolutions are needed, and there are some naming conventions. If you stick to the naming conventions the correct icons/images will automatically be selected when those icons/images...
by Mobiledev | Aug 30, 2011 | iOS, iPad, iPhone, XCode
Ever noticed that on iOS devices there are icons with “gloss” and icons without? The Twitter icon below does have a gloss, the Dropbox icon does not. The default setting in an XCode project is to apply gloss to your icons. If your icon already has a gloss...
by Mobiledev | Aug 29, 2011 | iOS, XCode
Logging has a lot of possible format specifiers. The general syntax of NSLog is: NSLog(@”Text %@”, object); NSLog(@”I want to log: %@”, myString); int i = 1234; NSLog(@”The number is: %d”, i); The possible format specifiers are: %@...
Recent Comments