How can I customize the accessory disclosure image in a UITableViewCell?

前端 未结 9 616
被撕碎了的回忆
被撕碎了的回忆 2020-12-07 15:55

I would like to use a custom version of the standard disclosure accessory image in my UITableView. How can I do this? I\'m hoping that sub-classing UITableViewCell is not ne

9条回答
  •  情话喂你
    2020-12-07 16:14

    I tried the above code and it doesn't seem to work anymore, maybe due to the age of this post so I'll throw down my line that gave me the customized accessory view.

    [cell setAccessoryView:[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"arrowBtn"]]];
    

    Hope someone finds this useful.

提交回复
热议问题