Reply:

Reply:
Ah? May I ask how to do it in uiview in
Reply:
- (Void) touchesBegan: (NSSet *) touches withEvent: (UIEvent *) event {
}
- (Void) touchesCancelled: (NSSet *) touches withEvent: (UIEvent *) event {
}
- (Void) touchesEnded: (NSSet *) touches withEvent: (UIEvent *) event {
}
- (Void) touchesMoved: (NSSet *) touches withEvent: (UIEvent *) event {
}
Using these three methods, intercepted "three fingers simultaneously knocked two down" operation. Then deal with their own under
NSUInteger numTaps = [[touches anyObject] tapCount] ;/ / point
fewNSString * tapsMessage = [[NSString alloc]
initWithFormat: @ "% d taps detected", numTaps];
tapsLabel.text = tapsMessage;
[TapsMessage release];
NSUInteger numTouches = [touches count] ;/ / number of touch points
NSString * touchMsg = [[NSString alloc] initWithFormat:
@ "% D touches detected", numTouches];
touchesLabel.text = touchMsg;
[TouchMsg release];
Reply:
Beginners do not understand what the meaning of
Reply:
- (Void) touchesBegan: (NSSet *) touches withEvent: (UIEvent *) event {
}
- (Void) touchesCancelled: (NSSet *) touches withEvent: (UIEvent *) event {
}
- (Void) touchesEnded: (NSSet *) touches withE ......
View your finger on the monitor, such as a few fingers, a few points, can be obtained.
Reply:
No, right?
Or will achieve UIScrollViewDelegate on UIScrollView zoom bar.
Reply:
NSUInteger numTaps = [[touches anyObject] tapCount] ;/ / point
fewNSUInteger numTouches = [touches count] ;/ / number of touch points
Where these two write it, I write these two touchesBegan to determine if there then, if it is scaled on the return, seemingly to no avail it
Reply:
Looks like NSUInteger numTouches = [touches count] ;/ / always get a few touch points what circumstances it
Reply:
Not do it, looked at the set of API developer.app.com which said only capture a single finger touch screen three fingers will not do so to capture the shot a few times in a row, but do not catch a few fingers shot ...... < br />
Seek expert advice
No comments:
Post a Comment