开发者

UITableView and touching section headers

开发者 https://www.devze.com 2023-01-09 22:27 出处:网络
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 cal

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

精彩评论

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