I’m working on an application that is almost the same as the sample codes i found here. But the method i want to do is different from the sample codes.
Link: PhotoLocations
The first screen will have an ImageView and 2 buttons (Choose Photo, Confirm).
When the ‘Choose Photo’ button is tapped, it will navigate to another screen which retrieves photos from my iPad’s photo gallery. When a photo is chosen, it will dismiss the current screen and return to the first screen displaying the chosen photo on the ImageView.
When the ‘Confirm’ button is tapped, the photo will be stored into my application’s project (e.g. /resources/images/photo.jpg).
May i know how can i do this?
This will take you to the image gallery and you can select the image.
this will help you select the image
And then you can store this image to the documents directory…
For clicking the image yourself use this