How to hide UITableViewCellAccessoryDisclosureIndicator

I have a UITableViewCellAccessoryDisclosureIndicator that I would like to remove in the if status .. but I don't know the code to remove the UITableViewCellAccessoryDisclosureIndicator ...

If someone can tell me what to write, that would be great.


source to share

1 answer

You can try installing accessoryType


Enter code below cellForRowAtIndexPath:

cell.accessoryType = UITableViewCellAccessoryNone;


Hope it helps.



All Articles