UIKit/テーブル

&tag(UIKit/テーブル/セルの再利用);

目次[edit]

関連ページ[edit]

参考情報[edit]

概要[edit]

iOS 6以降: registerClassとdequeueReusableCellWithIdentifier:forIndexPath:を使う[edit]

※ストーリーボードで設定したプロトタイプセルを利用する場合、registerClassを呼び出してはいけない。

iOS 6より前: dequeueReusableCellWithIdentifierを使う[edit]

トラブルシューティング[edit]

reason: 'unable to dequeue a cell with identifier Cell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard'が発生[edit]


トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2022-04-11 (月) 15:28:12