如此简单:
NSDictionary * infoDict =[[NSBundle mainBundle] infoDictionary];
NSString * appName =[infoDict objectForKey:@"CFBundleDisplayName"];
如此简单:
NSDictionary * infoDict =[[NSBundle mainBundle] infoDictionary];
NSString * appName =[infoDict objectForKey:@"CFBundleDisplayName"];
本文标题:在工程里获取项目名称 -iOS
本文链接:https://www.haomeiwen.com/subject/qhshbttx.html
网友评论