【发布时间】:2011-05-01 19:19:53
【问题描述】:
我有一个自定义的UIViewController 类,它的视图(连接到 IB)是一个UIScrollView。我想知道UIScrollView 什么时候得到“内部修饰”。
我覆盖了
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
方法,但它没有被调用。我做错了什么?
【问题讨论】:
-
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { NSLog(@"hi"); }
标签: objective-c cocoa-touch uiview uiviewcontroller uiscrollview