Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

grandM

macrumors 68000
Original poster
Oct 14, 2013
1,551
309
I was reading through some google links and noticed that this class accesses the icloud drive. UIDocumentInteractionController seems to be aimed at previewing when you know the url of the file.

I was wondering if there was also a picker to access local files? Or is throwing them in iCloud the way to go?
 
I was reading through some google links and noticed that this class accesses the icloud drive. UIDocumentInteractionController seems to be aimed at previewing when you know the url of the file.

I was wondering if there was also a picker to access local files? Or is throwing them in iCloud the way to go?
The decision as to which way to go really depends on the usage. You'd have to consider if the cloud is accessible or not and if that impacts usage.
As far as a picker to access local files, look at some of the examples, many of the photo browser apps use local directories for storage, and loading them into a picker is used in many example programs.

I'd be surprised if Ray Wenderlich doesn't have some examples there. It's fun to go to his site just to browse around at all the stuff he has.
http://www.raywenderlich.com/
 
The decision as to which way to go really depends on the usage. You'd have to consider if the cloud is accessible or not and if that impacts usage.
As far as a picker to access local files, look at some of the examples, many of the photo browser apps use local directories for storage, and loading them into a picker is used in many example programs.

I'd be surprised if Ray Wenderlich doesn't have some examples there. It's fun to go to his site just to browse around at all the stuff he has.
http://www.raywenderlich.com/
Actually photo pickers use PHAssets. I looked into it. I thought that maybe this UIDocumentInteractionController might be useful but looking at the developer site of apple there were some notices about security and the app being left and so on. I didn't get entirely what they meant.
 
Actually photo pickers use PHAssets. I looked into it. I thought that maybe this UIDocumentInteractionController might be useful but looking at the developer site of apple there were some notices about security and the app being left and so on. I didn't get entirely what they meant.
I'm not sure, but isn't PHAssets pretty new? I don't think it was used in most of the examples I used before.

It's really not that hard to use write a file browser and use a picker to make a 'finder' type system. It's actually a good exercise.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.