写个UITableViewCell的分类重写这个方法
- (void)didMoveToSuperview { [super didMoveToSuperview]; // 全局替换右侧箭头 if (self.accessoryType == UITableViewCellAccessoryDisclosureIndicator) { UIImageView *i = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"btn_enter"]]; self.accessoryView = i; } }
原文:http://www.cnblogs.com/songxing10000/p/5114106.html