I am implementing a ‘online image search’ feature for my app. The flow that I require is as follows:
1) Retrieve a image url that the user wants to use
2) Save the image (via the URL) to the phone’s photo album
3) Retrieve the saved image via the image picker controller and open up the move and scale screen
4) Use the image retrieved from the album.
Can anyone advise how I can do the steps above after obtaining the image URL?
You can save image in photo album with this code
Now for executing code in another thread I would write code like this
This method you can have anywhere in your code, button or any other UIKit control. Then you will need methods that are going to do the hard work.