私はiPhone開発者の初心者です。
webview でタッチを検出したいので、これを試しましたが、このメソッドは起動されません。
.h
ファイル内
@interface EpubReaderViewController : UIViewController
.m
ファイル内
...
- (void)sendEvent:(UIEvent *)event{
NSLog(@"Touch detected") ;
}
...
これも試してみましたが、
- (void) touchesBegan:(NSSet*)touches withEvent:(UIEvent*)event {
NSLog(@"Touches began");
}
前もって感謝します !