Last active
March 6, 2017 19:11
-
-
Save DonMag/a11b59f94d4d3cdf71df1a78009c8a78 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // in cellForRowAtIndexPath | |
| // always set to Checkmark | |
| cell.accessoryType = UITableViewCellAccessoryCheckmark; | |
| // if DON'T show checkmark for this row... | |
| if (!bShowCheckmark) { | |
| UIView* myAcc = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 24, 4)]; | |
| myAcc.backgroundColor = [UIColor whiteColor]; | |
| cell.accessoryView = myAcc; | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment