如何仅使用代码检测a UIviewController中的触摸UIView(没有Interface Builder)?
UIviewController
UIView
我找到了touchesBegan方法,但它永远不会被调用.我没有初始化有关此方法的任何其他内容.
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
iphone cocoa-touch uiview
cocoa-touch ×1
iphone ×1
uiview ×1