Abh*_*nav 10 iphone cocoa-touch uitableview
将表格视图置于编辑模式时,我们可以重命名"删除"按钮吗?
ama*_*ttn 17
UITableView委托必须实现:
- (NSString *)tableView:(UITableView *)tableView titleForDeleteConfirmationButtonForRowAtIndexPath:(NSIndexPath *)indexPath
Run Code Online (Sandbox Code Playgroud)
实行
- (NSString *)tableView:(UITableView *)tableView titleForDeleteConfirmationButtonForRowAtIndexPath:(NSIndexPath *)indexPath
Run Code Online (Sandbox Code Playgroud)
并返回您的自定义标题以进行删除.
| 归档时间: |
|
| 查看次数: |
2537 次 |
| 最近记录: |