objective-c nsbundle
I am developing an iOS app using iOS 4.3 SDK, but I want the app to change the icon name on the iPad screen dynamically every time I closed the app.
According to my knowledge, I can do this using NSBundle but I don't know how can I acheive this. Can anybody suggest me ? can someone post the sample piece of code ?
More Details: I have a form where I input data and insert into sqllite db. I want to display the icon name like below every time I save data into sqllite db.
"My开发者_C百科 Application 2 records exists" if I saved 2 records.
You cannot change your application display name! It is read from your (code-signed!) .plist (or one of your localized Info-Plist.strings).
If you want to inform the user of the nuber of records you should consider using badge numbers: [[UIApplication sharedApplication] setApplicationIconBadgeNumber:2]
精彩评论