Is it possible to read a file icon from iOS file system?

2012-12-10 Thread Brad Stone
In iOS is there a way I can get access a file's icon? I use [NSWorkspace iconForFile] in OS X. I looked a lot yesterday and I don't **think** there is a way in iOS. My OS X app has an iOS client and the files will be synced using iCloud. My app's document structure is a file package with

Re: Is it possible to read a file icon from iOS file system?

2012-12-10 Thread Brad Stone
Answered my own question. UIDocumentInteractionController @property(nonatomic,readonly) NSArray *icons Discussion This property contains an array of UIImage objects containing the available icons for the given file. The images in the array are sorted from smallest to largest, with the smallest