UITableViewCell checkmark change on select
问题 Am I correct in thinking that to change the checkmark for "on" to "off", I must change the CellAccessoryType between none and checkmark on the didSelectRowAtIndexPath ? Because I have done this but I have noticed the behaviour is not perfectly identical to like the checkmark cells on the auto lock settings on the iphone. Or is there some other way checkmarks are meant to be handled? 回答1: Keep a property in your view controller called selectedRow , which represents the index of a row that