摘要: Xcode教程Xcode4发布测试打包Archive操作是本文要介绍的内容,发布测试的最后一步打包(Archive),Xcode4帮助文档有比较详细介绍,但是居然是错的,这里说明一下。1、设置“BuildSettings”,下图是官方文档截图,留意那个红框,居然说反了。"Skipinstall"一定要选NO,否则在下面的打包步骤后,Organizer看不到你的程序,就为这折腾我好些时间,... 阅读全文
posted @ 2014-06-19 21:17 М80メ 阅读(476) 评论(0) 推荐(0) 编辑
摘要: Tochangetheinstalledapplicationname,inXcode:1.SelectyourTargetontheleftsideunderGroups&Files2.SelectFile>GetInfo3.SelecttheBuildtab4.FromtheConfigurationspopup,selectA... 阅读全文
posted @ 2014-06-19 21:13 М80メ 阅读(455) 评论(0) 推荐(0) 编辑
摘要: 每 个iPhone应用程序都有一个UIApplication,UIApplication是iPhone应用程序的开始并且负责初始化并显示 UIWindow,并负责加载应用程序的第一个UIView到UIWindow窗体中。UIApplication的另一个任务是帮助管理应用程序的生命 周期,而UIApplication通过一个名字为UIApplicationDelegate的代理类来履行这个任务。... 阅读全文
posted @ 2014-06-19 19:34 М80メ 阅读(617) 评论(0) 推荐(0) 编辑
摘要: [[UIApplicationsharedApplication] beginBackgroundTaskWithExpirationHandler: ^() { //程序在10分钟内未被系统关闭或者强制关闭,则程序会调用此代码块,可以在这里做一些保存或者清理工作 }]; 阅读全文
posted @ 2014-06-19 19:31 М80メ 阅读(167) 评论(0) 推荐(0) 编辑
摘要: //清除cookies NSHTTPCookie *cookie; NSHTTPCookieStorage *storage = [NSHTTPCookieStorage sharedHTTPCookieStorage]; for (cookie in [storage cookies]) { [storage deleteCookie:cookie]; ... 阅读全文
posted @ 2014-06-19 11:19 М80メ 阅读(213) 评论(0) 推荐(0) 编辑