开发者

objective-c nsbundle

开发者 https://www.devze.com 2023-04-05 04:42 出处:网络
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.

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]

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号