UIKit/テーブル

Tag: UIKit/テーブル/セルの再利用

目次

関連ページ

参考情報

概要

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

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

iOS 6より前: dequeueReusableCellWithIdentifierを使う

トラブルシューティング

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'が発生


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