【问题标题】:UITableView Delete buttonUITableView 删除按钮
【发布时间】:2011-11-30 05:35:59
【问题描述】:

我想用我自己的按钮替换 UITableView 编辑样式中的默认删除按钮。怎么办?

 -(NSString *)tableView:(UITableView *)tableView titleForDeleteConfirmationButtonForRowAtIndexPath:
(NSIndexPath *)indexPath 
{
return @"title!";
}

这将编辑按钮的标题。如何更改按钮的颜色.. 谁能帮帮我

【问题讨论】:

  • 你可以更改删除按钮的测试

标签: iphone uitableview


【解决方案1】:

我们可以自定义 UITableView 中的默认删除按钮。但是根据 IOS 人机界面指南,如果您尝试更改该应用程序,您的应用程序可能会被苹果拒绝。 可以参考http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/mobilehig/Introduction/Introduction.html

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-08-11
    • 2017-04-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-04-01
    相关资源
    最近更新 更多