摘要: 1.//当手指在屏幕上滑动时 - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event{ UITouch *touch = [touches anyObject]; CGPoint previousPoint = [touch 阅读全文
posted @ 2016-02-05 20:38 aRenOuBa 阅读(548) 评论(0) 推荐(0) 编辑
摘要: 1.首先在自定义的视图中重写layoutSubviews方法 - (void)layoutSubviews{ UIInterfaceOrientation orientation = [UIApplication sharedApplication].statusBarOrientation ;// 阅读全文
posted @ 2016-02-05 16:29 aRenOuBa 阅读(405) 评论(0) 推荐(0) 编辑