标签: ios swift human-interface
如何在屏幕上的“设置”应用中使单元格不可用?
答案 0 :(得分:0)
只需在cellForRowAt indexPath中添加以下代码:
cellForRowAt indexPath
cell.isUserInteractionEnabled = false for view in cell.subviews { view.alpha = 0.5 }