views:

52

answers:

2

hi

is it possible to launch the "Photos" application out of an iphone app? Similar to launching mail?

[[UIApplication sharedApplication] openURL:url];
A: 

This article looks like it might be useful? Getting images from the iPhone

davbryn
thanks, but no. i wanted to provide the user the possibility to set the background image. i know this cant be done - so i wanted to send the user to the built in photos application.
Alex Milde
A: 

The Photos app doesn't appear to register any URL schemes that other apps can use. There's a pretty well-established pattern in other system apps (e.g. Safari) of “saving an image” resulting in that image being placed in the user's camera roll; I'd recommend just sticking with that expected behavior, and perhaps using an alert to direct the user to look there for your app's exported image.

Noah Witherspoon
saving and alerting works already fine. so i think i just have to tell the client we don't need the "as Backround" button anymore ;)
Alex Milde