摘要: 1.创建一个UINavigationController self.window = [[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds]; FirstViewController * first = [[FirstViewCont 阅读全文
posted @ 2016-01-29 14:52 王权 阅读(114) 评论(0) 推荐(0) 编辑
摘要: UIGestureRecognizer: 1.locationinView 获取手势在某个视图里面的坐标位置 2.delegate监听手势的行为 3.state状态 开始:UIGestureRecognizerStateBegan 手势达到要求 识别:UIGestureRecognizerState 阅读全文
posted @ 2016-01-29 12:26 王权 阅读(191) 评论(0) 推荐(0) 编辑