04 2014 档案

摘要:利用 NSSetUncaughtExceptionHandler,当程序异常退出的时候,就给指定的邮箱发送邮件,邮件内容包括发生异常时候的详情。代码如下:void UncaughtExceptionHandler(NSException *exception) {NSArray *arr = [ex... 阅读全文
posted @ 2014-04-28 11:19 墨禾米说 阅读(198) 评论(0) 推荐(0) 编辑
摘要:[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleBlackTranslucent animated:YES]; 阅读全文
posted @ 2014-04-22 17:30 墨禾米说 阅读(515) 评论(0) 推荐(0) 编辑
摘要:推荐一篇博文http://onevcat.com/2013/12/code-vs-xib-vs-storyboard/ 阅读全文
posted @ 2014-04-06 09:59 墨禾米说 阅读(194) 评论(0) 推荐(0) 编辑
摘要:遇到这样的问题: integer to pointer conversion assigning to 'NSInteger *' (aka 'int *') from 'NSInteger' (aka 'int')用[NSNumber numberWithInteger:id]转换.即可. 阅读全文
posted @ 2014-04-04 13:15 墨禾米说 阅读(10964) 评论(0) 推荐(1) 编辑
摘要:推荐一篇神作:通过实现一个TableView来理解iOS UI编程http://blog.jobbole.com/61101/ 阅读全文
posted @ 2014-04-03 21:26 墨禾米说 阅读(216) 评论(0) 推荐(0) 编辑