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 クラスには次の関数があります。
– insertSections:withRowAnimation: – deleteSections:withRowAnimation: – moveSection:toSection:
それらは、公式の API ドキュメントで十分に文書化されています。
http://developer.apple.com/library/ios/#documentation/uikit/reference/UITableView_Class/Reference/Reference.html#//apple_ref/occ/instm/UITableView/moveSection:toSection :