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

How to blink a button iOS swift?

Convert NsNumber, NSDate to String in iOS Swift

Parse the value from string value iOS swift