相关疑难解决方法(0)

使用Interface Builder检测UIView上的触摸

如何仅使用代码检测a UIviewController中的触摸UIView(没有Interface Builder)?

我找到了touchesBegan方法,但它永远不会被调用.我没有初始化有关此方法的任何其他内容.

-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
Run Code Online (Sandbox Code Playgroud)

iphone cocoa-touch uiview

2
推荐指数
1
解决办法
8826
查看次数

标签 统计

cocoa-touch ×1

iphone ×1

uiview ×1