摘要: http://www.360doc.com/content/15/0601/18/12278201_474932011.shtml 阅读全文
posted @ 2016-06-28 15:44 抓狂的ZXY 阅读(111) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/mrhgw/archive/2012/07/18/2597218.html 在 iPhone 应用里,有时我们想强行把显示模式从纵屏改为横屏(反之亦然),CocoaChina 会员 “alienblue” 为我们提供了两种思路 第一种:通过人为的办法改变 阅读全文
posted @ 2016-06-28 15:43 抓狂的ZXY 阅读(3690) 评论(0) 推荐(0) 编辑
摘要: http://www.molotang.com/articles/1530.html 接着上篇写的触摸事件,这次借机会整理下iOS横屏和竖屏的翻转方向支持,即InterfaceOrientation相关的内容。 最近做一个页面,最初并没有太多考虑orientation的情况,当其嵌入到一个在iPad 阅读全文
posted @ 2016-06-28 14:45 抓狂的ZXY 阅读(964) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/jimzhai/article/details/23283515 UIResponder 介绍 UIResponder 这个类定义了很多用来处理响应和时间处理的类。他的子类有UIApplication,UIView以及UIWindow等。 iOS中分为两类事 阅读全文
posted @ 2016-06-28 10:15 抓狂的ZXY 阅读(246) 评论(0) 推荐(0) 编辑
摘要: http://justcoding.iteye.com/blog/1473287 1. UITouch 的主要方法: C代码 - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; - (void)touchesMoved: 阅读全文
posted @ 2016-06-28 10:14 抓狂的ZXY 阅读(776) 评论(0) 推荐(0) 编辑
摘要: http://my.oschina.net/joanfen/blog/640110 阅读全文
posted @ 2016-06-28 10:12 抓狂的ZXY 阅读(133) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/wendingding/p/5168772.html 阅读全文
posted @ 2016-06-28 10:11 抓狂的ZXY 阅读(118) 评论(0) 推荐(0) 编辑
摘要: http://www.cocoachina.com/industry/20131106/7304.html 阅读全文
posted @ 2016-06-28 10:10 抓狂的ZXY 阅读(110) 评论(0) 推荐(0) 编辑