摘要:
UITapGestureRecognizer*tapGesture=[[UITapGestureRecognizer alloc]initWithTarget:selfaction:@selector(Actiondo:)]; [uiview addGestureRecognizer:tapGes... 阅读全文
摘要:
禁止UIScrollView垂直方向滚动,只允许水平方向滚动scrollview.contentSize =CGSizeMake(长度, 0);禁止UIScrollView水平方向滚动,只允许垂直方向滚动scrollview.contentSize =CGSizeMake(0, 宽度); 阅读全文