摘要: 本文译自http://www.raywenderlich.com。原文由iOS教程团队 Matthijs Hollemans 撰写,经原网站管理员授权本博翻译。 在iOS系统,考虑到手机电池电量,应用不允许在后台进行过多的操作,当用户未开启应用时,要怎么样才能通知用户呢? 好比用户收到一个新的微博、 阅读全文
posted @ 2012-03-31 11:56 林建彧 阅读(30578) 评论(2) 推荐(5) 编辑
摘要: 关键是自动取版本信息: [NSString stringWithFormat:@"Version %@",[[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"]]; [NSString stringWithFormat:@"Build %@",[[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"]]; 阅读全文
posted @ 2012-03-31 11:51 林建彧 阅读(2236) 评论(0) 推荐(0) 编辑

欢迎光临个人主站:70apps.com,方便分享代码、截图的小工具 DevShots