- (void)touchesBegan:(NSSet *)touchEvent:(UIEvent *)event { NSLog(@「touches」); }touchesBegan not responding
上述方法沒有在我的應用程序中調用。我的應用程序描述如下。
我有一個MainViewController
其中加載了一個ContentViewController
。 ContentViewController
有一個加載PDF文件的webview。
如何收聽MainViewController's
的點擊查看。
問候。
這個答案是有幫助的:HTTP :http://stackoverflow.com/a/7808238/790198 – Nianliang 2013-11-18 11:00:40