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.
テーブル ビューにローカル ファイルを入力するにはどうすればよいですか。何を使用する必要がありますか。NSFileManager と UITableView を組み合わせて使えば可能でしょうか?
NSFileManager の directoryContentAtPath を使用して、特定のパスにあるすべてのファイルとディレクトリのリストを取得します。directoryContentAtPath は NSArray を返します。同じものを使用してテーブルに入力します。