I'm developing a camera application where I'd like to put some functions that are already present in the stock app. My problem is replicating the little square in the bottom left corner (in portrait mode) where the micro-thumbnail of the photo that the user has just taken is shown; then, when the user tap on it, the photo app should open, on the last photo saved in the camera roll.
I can load the thumbnail of the newest photo in camera roll with ALAssetsLibrary - I've access to it with [UIImage imageWithCGImage:[result thumbnail]]
- but even if I have its ALAsset URL, I can't open the photo app. I'm trying to do it with:
[[UIApplication sharedApplication] openURL:result.defaultRepresentation.url];
But nothing happens.
I could display it internally in my app, with an additional UIView, but I think will be simpler and... smarter to use the official photo app!
Can anyone help me? Thank you in advance!