セルを選択したいタイミングに以下のコードを書く。
sectionとrowでセルを指定する。
tableView.selectRow(at: IndexPath(row: 0, section: 1), animated: true, scrollPosition: .none)
投稿日:
セルを選択したいタイミングに以下のコードを書く。
sectionとrowでセルを指定する。
tableView.selectRow(at: IndexPath(row: 0, section: 1), animated: true, scrollPosition: .none)
執筆者:swift
関連記事
該当のyoutube動画のurlの前に「thx」を入力する https://www.のあとに入れる。 参考:https://uniconverter.wondershare.jp/site/free- …
1.collectionViewを画面一杯に配置する。CellのIdentifierに任意の名前「Cell」とつける。 2.プロトコルを追加し、デリゲートの設定をする。 class ViewContr …