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.

+3
ios iphone uitableview


source to share


1 answer


You can try installing accessoryType

likeUITableViewCellAccessoryNone

Enter code below cellForRowAtIndexPath:



cell.accessoryType = UITableViewCellAccessoryNone;

      

Hope it helps.

+6


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics