09 2015 档案

摘要:问题总结1. Unbalanced calls to begin/end appearance transitions for UIViewController 的解决方法(1)但是如何很快的速度触发这个方法的调用就会出现:unbalanced calls to begin/end appearan... 阅读全文
posted @ 2015-09-24 16:47 heyuan123 阅读(322) 评论(0) 推荐(0)
摘要:一个NSNotificationCenter对象(通知中心)提供了在程序中广播消息的机制,它实质上就是一个通知分发表。这个分发表负责维护为各个通知注册的观察者,并在通知到达时,去查找相应的观察者,将通知转发给他们进行处理。本文主要了整理了一下NSNotificationCenter的使用及需要注意的... 阅读全文
posted @ 2015-09-24 15:13 heyuan123 阅读(288) 评论(0) 推荐(0)
摘要:iOS中boolean、Boolean、BOOL、bool的区别boolt1=1;//trueorfalseBOOLt2=3;//YESorNOBooleant3=1;//unsignedchartypeboolean_tt4=1;//inttypeNSAssert(t1,@"boolt1isNO"... 阅读全文
posted @ 2015-09-08 11:17 heyuan123 阅读(695) 评论(0) 推荐(0)
摘要:推送的设置/*launchOptions 为NSDictionary类型的对象,里面存储有此程序启动的原因1.若用户直接启动,lauchOptions内无数据;2.若由其他应用程序通过openURL:启动,则UIApplicationLaunchOptionsURLKey对应的对象为启动URL(N... 阅读全文
posted @ 2015-09-06 16:47 heyuan123 阅读(405) 评论(0) 推荐(0)