1

enter image description here

How to make cell unavailable view like in Settings app on the screen?

Ashish Kakkad
  • 23,586
  • 12
  • 103
  • 136

1 Answers1

0

Just add below code in cellForRowAt indexPath:

cell.isUserInteractionEnabled = false

for view in cell.subviews {
    view.alpha = 0.5
}
Amit
  • 4,837
  • 5
  • 31
  • 46