Selection style for particular sections in a tableView wants to be none in swift

 Problem:

I had a tableview with few sections.I want some sections to be selectable and some rows wants to be non selectable with no gray option.


Solution:

            cell.selectionStyle = .none

You have to add the above to the particular cell.It will works good.Happy coding..

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Saved Image in document directory and save path in coredata not able to fetch the image file iOS swift