开发者

Creating a file browser

I need a file selector in an iPhone application I am 开发者_开发知识库developing to select a file to encrypt? Any idea how I would go about accessing files on the iPhone?

It would be something like this: http://iphone.heinelt.eu/?Applications:iFile:File_Browser


If you’re making a file browser, you’re probably taking the wrong approach. The design philosophy of iOS—and the Human Interface Guidelines—strongly recommend that you not expose the filesystem unless you really, really have to. Generally, collections of documents in iOS apps are displayed as a flat list—witness the built-in Notes app as well as Apple’s own iWork (Pages / Keynote / Numbers) suite. You can display that list in a UITableView, which you can find plenty of documentation about and tutorials for by Googling it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜