How to make cell unavailable view like in Settings app on the screen?
Asked
Active
Viewed 75 times
1

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

Michael Nechaev
- 37
- 4
-
Set alpha value to 0.5 for any view. – Ashish Kakkad Aug 02 '18 at 07:31
-
That picture is huge! Can you please shrink it a little to make it easier to read? – Ṃųỻịgǻňạcểơửṩ Aug 02 '18 at 08:00
1 Answers
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