【代码笔记】iOS-用户发布后能保存崩溃
2016-07-18 10:17
441 查看
一,工程图。
二,代码。
AppDelegate.m
二,代码。
AppDelegate.m
#import "AppDelegate.h" #import "RootViewController.h" #import "NdUncaughtExceptionHandler.h" @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; // Override point for customization after application launch. RootViewController *rootVC=[[RootViewController alloc]init]; UINavigationController *nav=[[UINavigationController alloc]initWithRootViewController:rootVC]; self.window.rootViewController=nav; //使用方法 [NdUncaughtExceptionHandler setDefaultHandler]; self.window.backgroundColor = [UIColor whiteColor]; [self.window makeKeyAndVisible]; return YES; }
相关文章推荐
- 【代码笔记】iOS-用户发布后能保存崩溃
- IOS常用正则表达式
- TTS授权失败 iOS百度导航
- 弹出广告视图
- ios7 statusbar透明设置
- iOS学习笔记27-摄像头
- ios 开发在应用中监听(判断)来电状态-接听-拒接-CoreTelephony
- iOS 支付宝的申请、使用及常见问题
- 【iOS】自定义TabBarController
- ios——苹果自带的MD5加密
- 使用Small创建iOS工程目录
- 获取iOS项目名称及版本号
- OC学习总结之内存管理
- iOS 地图截屏
- iOS真机调试、打包测试、发布程序常见问题(不断更新ing)
- iOS tabBarItem的选中与非选中时,背景颜色,字体颜色
- MacOS和iOS开发中异步调用与多线程的区别
- MacOS和iOS开发中异步调用与多线程的区别
- MacOS和iOS开发中异步调用与多线程的区别
- iOS动画(Core Animation)总结