摘要: UITouch触摸事件 主要为三个方法 1.-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{2.3. UITouch *touch = [touches anyObject];4. CGPoint point = [to 阅读全文
posted @ 2016-02-22 22:16 Emerys 阅读(420) 评论(0) 推荐(0)
摘要: UIGestureRecognizer 1.#import "ViewController.h"2.3.@interface ViewController ()<UIGestureRecognizerDelegate>4.{5. UIImageView *imageView ;6. NSIntege 阅读全文
posted @ 2016-02-22 21:43 Emerys 阅读(299) 评论(0) 推荐(0)
摘要: UISegmentControl 、UIStepper UISegmentControl 1. UISegmentedControl *segmentControl = [[UISegmentedControl alloc] initWithItems:@[@"1",@"2",@"3",@"4"]] 阅读全文
posted @ 2016-02-22 20:44 Emerys 阅读(276) 评论(0) 推荐(0)