QMUITableViewDelegate
@protocol QMUITableViewDelegate <UITableViewDelegate, QMUICellHeightKeyCache_UITableViewDelegate>
@optional
/**
* 自定义要在<i>- (BOOL)touchesShouldCancelInContentView:(UIView *)view</i>内的逻辑<br/>
* 若delegate不实现这个方法,则默认对所有UIControl返回NO(UIButton除外,它会返回YES),非UIControl返回YES。
*/
- (BOOL)tableView:(nonnull QMUITableView *)tableView touchesShouldCancelInContentView:(nonnull UIView *)view;
@end
Undocumented
-
自定义要在- (BOOL)touchesShouldCancelInContentView:(UIView *)view内的逻辑
若delegate不实现这个方法,则默认对所有UIControl返回NO(UIButton除外,它会返回YES),非UIControl返回YES。Declaration
Objective-C
- (BOOL)tableView:(nonnull QMUITableView *)tableView touchesShouldCancelInContentView:(nonnull UIView *)view;
Swift
optional func tableView(_ tableView: QMUITableView, touchesShouldCancelInContentView view: UIView) -> Bool