1
This commit is contained in:
@@ -26,6 +26,17 @@
|
||||
[super viewDidLoad];
|
||||
}
|
||||
|
||||
#pragma mark - UITableViewDelegate Override
|
||||
|
||||
// Thumbs Up tab 不需要左滑删除功能
|
||||
- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath {
|
||||
return NO; // 禁用左滑删除
|
||||
}
|
||||
|
||||
- (UISwipeActionsConfiguration *)tableView:(UITableView *)tableView trailingSwipeActionsConfigurationForRowAtIndexPath:(NSIndexPath *)indexPath API_AVAILABLE(ios(11.0)) {
|
||||
return nil; // 不显示滑动操作
|
||||
}
|
||||
|
||||
#pragma mark - 2:数据加载
|
||||
|
||||
- (void)loadData {
|
||||
|
||||
Reference in New Issue
Block a user