开发者

UITableView and touching section headers

Can a section header in an i开发者_C百科nstance of UITableView already be made to intercept a touch?


I believe you can do this by using a UIControl custom view for the section header. Then, you can call this method on the UIControl to set up your touch:

- (void)addTarget:(id)target action:(SEL)action forControlEvents:(UIControlEvents)controlEvents

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜