I'd like to replace the default checkmark image that is shown when a UITableViewCell's accessory is set to: UITableViewCellAccessoryCheckmark.
So I'd still like to write:
[cell setAccessoryType:UITableViewCellAccessoryCheckmark];
But I'd like my own image to be shown rather than the default.
Any help is much appreciated.
myUITableViewCell.accessoryView = myImageView;
Then put your image in the UIImageView.
see
http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UITableViewCell_Class/Reference/Reference.html#//apple_ref/occ/cl/UITableViewCell
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With