To manually set the iPhone application icon badge value, use the following code snippet
[UIApplication sharedApplication].applicationIconBadgeNumber = 5;
To manually set the iPhone application icon badge value, use the following code snippet
[UIApplication sharedApplication].applicationIconBadgeNumber = 5;
For adding internationalization support to iPhone Settings.bundle, follow these steps:-
1. Close the Xcode IDE
2. Drag and duplicate the settings bundle onto the desktop (or wherever)
3. Open bundle contents by selecting “Show Package Contents” from the right click menu options
4. Drag Root.strings into the en.lproj folder
5. Duplicate the en.lproj folder and rename to whatever language you want (using 2-letter code. Eg: fr.lproj for French)
6. Replace the original settings bundle with the new one.
7. Open Xcode IDE and the new files and folders should be there
This methods works fine in the simulator and on my iPhone device.
iPhone OS 4 is the next generation of the world’s most innovative mobile operating system. Its unique capabilities and new technologies will change what you thought was possible on a mobile platform. With a rich set of over 1500 new APIs, iPhone SDK for iPhone OS 4 provides you with an amazing range of technologies to enhance the functionality of your iPhone and iPod touch apps. iPhone Developer Program members can visit the iPhone Dev Center to download the iPhone SDK 4 beta now.
iPhone OS 4 delivers seven new multitasking services that allow your apps to perform tasks in the background while preserving battery life and performance. These multitasking services include:
Bad Behavior has blocked 235 access attempts in the last 7 days.