2020-03-28から1日間の記事一覧
swift tableviewのセルを選択したら画面遷移してる場合、特定のセルだけ遷移しないようにする方法 cellのisUserInteractionEnabledをfalseにします。 cellForRowAt内で cell.isUserInteractionEnabled = true//ここで初期化するのすごく大事 if indexPath.ro…
swift tableviewのセルを選択したら画面遷移してる場合、特定のセルだけ遷移しないようにする方法 cellのisUserInteractionEnabledをfalseにします。 cellForRowAt内で cell.isUserInteractionEnabled = true//ここで初期化するのすごく大事 if indexPath.ro…