摘要:
#ifdefDEBUG#defineDLog(fmt,...)NSLog((@"%s[Line%d]"fmt),__PRETTY_FUNCTION__,__LINE__,##__VA_ARGS__);#else#defineDLog(...)#endif#defineALog(fmt,...)NSLog((@"%s[Line%d]"fmt),__PRETTY_FUNCTION__,__LINE__,##__VA_ARGS__); http://2015.iteye.com/blog/1374820 阅读全文
posted @ 2012-04-13 15:46
worldworld
阅读(236)
评论(0)
推荐(0)
摘要:
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:(NSS 阅读全文
posted @ 2012-04-13 15:35
worldworld
阅读(1123)
评论(0)
推荐(0)
浙公网安备 33010602011771号