0
我想知道我怎麼會停止我的sublassØUIScrollView的工作不正常:的UIScrollView潤色覆蓋
- (void) touchesShouldBegin:(NSSet *)touches withEvent:(UIEvent *)event inContentView:(UIView *)view {
if ([touches count] == 2) {
[super touchesShouldBegin:[touches anyObject] withEvent:event inContentView:view];
}
else {
//How do I stop it completely from using one touch?
}
}
我只希望當它有2個觸摸一切我想做什麼就採取行動。甚至更好,如果你能告訴我如何通過觸摸else語句到一個UIView:
UntitledViewController.otherView
如果你能告訴我怎麼做,那麼我會很高興。