Create a customised UIImagePickerControllerSourceTypePhotoLibrary [closed]
-
19-09-2019 - |
Question
The path for the thumbnails of the images located in the iPhone is: /private/var/mobile/Media/DCIM/100APPLE/.MISC/ (or instead of 100APPLE we have 101APPLE, 102APPLE etc).
If I want to pick these images directly from these folders, what is the best way to improvise a nice picker like the one for UIImagePickerControllerSourceTypePhotoLibrary?
I have already seen some attempts using UITableView and UIPickerView. Any other ideas?
Any recommended TUTORIAL?
Solution
what is the best way?
I really don't know so ideas still welcome.
Any other ideas?
Yes. Using a thumbnail scrollview.
Any recommended TUTORIAL?
Not a tutorial but even better, sample code. Using sample code from Apple Developer: Autoscroll from ScrollViewSuite
OTHER TIPS
I previously wrote "Your application runs in a sandbox. This means that directories like /private/var
are not available to your application. It is therefore not possible to create a custom picker that looks directly in those folders."
This turns out not to be the case. I am totally surprised that iPhone applications do actually have access to most of the filesystem.