上一页 1 2 3 4 5 6 7 ··· 12 下一页
摘要: CATransition *transition = [CATransition animation]; transition.duration = 1.0f; transition.subtype = kCATransitionFromTop;//可更改为其他方式 tra... 阅读全文
posted @ 2015-07-28 16:17 lxl奋小斗 阅读(269) 评论(0) 推荐(0) 编辑
摘要: @interface UIDevice (Helper) - (BOOL)isJailbroken; @end@implementation UIDevice (Helper) - (BOOL)isJailbroken { BOOL jailbroken = NO; NSString *cydiaP... 阅读全文
posted @ 2015-05-22 17:40 lxl奋小斗 阅读(152) 评论(0) 推荐(0) 编辑
摘要: UIEdgeInsets[objc]typedef struct UIEdgeInsets { CGFloat top, left, bottom, right; // specify amount to inset (positive) for each of the edges. value... 阅读全文
posted @ 2015-04-23 14:53 lxl奋小斗 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 编写 Objective-C程序时,总会用到某几个类,它们属于Foundation框架。虽然从技术上来说,不用Foundation框架也能写出 Objective-C代码,但实际上却经常要用到此框架。这几个类是NSString、NSNumber、NSArray、NSDictionary。 从类名上即... 阅读全文
posted @ 2015-04-16 15:00 lxl奋小斗 阅读(138) 评论(0) 推荐(0) 编辑
摘要: WWDC 2014 Session笔记 - iOS 通知中心扩展制作入门 转载自http://onevcat.com/2014/08/notification-today-widget/ios8应用扩展 http://blog.csdn.net/chengwuli125/article/detail... 阅读全文
posted @ 2015-04-15 15:47 lxl奋小斗 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 转自http://onevcat.com/2014/11/watch-kit/发现一个写的非常好的人,转一下 以后持续关注主要类WKInterfaceController 和生命周期WKInterfaceController 是 WatchKit 中的 UIViewController 一样的存在,... 阅读全文
posted @ 2015-04-15 10:20 lxl奋小斗 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 写了一个测试的demo 发现如果设置了next Page,在InterfaceController中的push操作是不成功的(点击第一个"助力"的row push到TowInterfaceControl) 但是present是好用的参考转载:http://www.swiftkiller.com/?p... 阅读全文
posted @ 2015-04-14 18:37 lxl奋小斗 阅读(671) 评论(0) 推荐(0) 编辑
摘要: 1.app提交上线之后要把打包中对应的.dSYM和二进制文件保存好,以后可以通过这两个东西追踪到app在用户使用时发生的错误,版本一定要对应好2.打开友盟的错误列表 找到一个错误,比如如果错误类型是就可以放弃了 这种异常崩溃错误原因可能很多 追踪不到3.复制错误黄色加后面的东西复制并把替换成你自己的... 阅读全文
posted @ 2015-03-31 18:01 lxl奋小斗 阅读(338) 评论(0) 推荐(0) 编辑
摘要: //去掉UItableview headerview黏性 - (void)scrollViewDidScroll:(UIScrollView *)scrollView { if (scrollView == self.myTableView) { CGFloat sectionHeaderHeigh... 阅读全文
posted @ 2015-02-27 09:13 lxl奋小斗 阅读(426) 评论(0) 推荐(0) 编辑
摘要: 1&2.http://www.cocoachina.com/ios/20141231/10783.html 3.http://www.cocoachina.com/ios/20150210/11130.html tableViewCell的黑色分隔线左对齐 self.tabView.separato 阅读全文
posted @ 2015-02-11 15:51 lxl奋小斗 阅读(131) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 12 下一页