Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
UITableView の dataSource を更新して reloadData を呼び出すと、セルは更新されますが、テーブルのサイズは変わりません。
私は本当に手がかりがありません...誰かが助けることができますか?
との両方numberOfRowsInsectionを再確認する必要heightForRowAtIndexPath:があります。UITableViewCellの高さはデフォルトの44.fとは異なりますか?
numberOfRowsInsection
heightForRowAtIndexPath:
カスタムUITableViewCellの場合は、nib(nibを使用している場合)またはコードを再確認してください
通常、問題は にありますnumberOfRowsInSection。テーブル サイズを正しく再計算していることを確認してください。
numberOfRowsInSection