Search code examples
iphonecocoa-touchiphone-sdk-3.0uikitios4

Changing color of UITableViewCellAccessoryCheckmark and UITextField


I want to change the color of UITableViewCellAccessoryCheckmark and UITextField background color where we type. I found this is not straight forward.


Solution

  • By default,you cannot change the color of UITableViewCellAccessoryCheckmark

    But alternatively you can use the image for this..as just like checkmark

    while for textField you can use this single line..

    [textField setBackgroundColor:[UIColor redColor]];