摘要:
- (void)viewDidLoad{ [super viewDidLoad]; //添加显示 UIImage *image = [UIImage imageNamed:@"0_wanggsx20080817.jpg"]; UIImageView *imageView = ... 阅读全文
摘要:
UITapGestureRecognizer*tapGesture=[[UITapGestureRecognizer alloc]initWithTarget:selfaction:@selector(Actiondo:)]; [uiview addGestureRecognizer:tapGes... 阅读全文
摘要:
禁止UIScrollView垂直方向滚动,只允许水平方向滚动scrollview.contentSize =CGSizeMake(长度, 0);禁止UIScrollView水平方向滚动,只允许垂直方向滚动scrollview.contentSize =CGSizeMake(0, 宽度); 阅读全文