4

テーブルビューでセクションを移動したい。これについてグーグルで検索しましたが、それに関するドキュメントは見つかりませんでした。ドキュメントやサンプル コードは役に立ちます。ありがとう

4

1 に答える 1

1

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 :

于 2012-06-01T09:03:56.593 に答える