iOS获取应用程序名称的方法 application Name

NSBundle*bundle =[NSBundle mainBundle];
NSDictionary*info =[bundle infoDictionary];
NSString*prodName =[info objectForKey:@"CFBundleDisplayName"];

http://stackoverflow.com/questions/1247142/getting-an-iphone-apps-product-name-at-runtime

[[[NSBundle mainBundle] infoDictionary] objectForKey:(NSString*)kCFBundleNameKey];
 
posted on 2012-04-13 15:35  easonoutlook  阅读(2924)  评论(0编辑  收藏  举报