Nareshkumar
Nareshkumar

Reputation: 2351

how to enable preview after selecting picture from library?

I am trying to write an app which involves picking a picture from either camera or library. Once the picture is picked , I want to show the preview of the picture.It happens by default when camera is opted. Once the photo is clicked, it shows the user to choose or retake. But I want the same to be done when the picture is selected from the photo library also. Can this be done??

Upvotes: 0

Views: 732

Answers (2)

Nareshkumar
Nareshkumar

Reputation: 2351

Ok thanks for the response. Here is what I did: Subclass UIImagePickerController . Upon picking an image, I am pushing another viewcontroller which is similiar to preview screen. This is similiar to facebook app and so I think it will get approved by apple.

Upvotes: 2

barley
barley

Reputation: 4473

I may be wrong, but I think you need to implement the custom view yourself. You can use the delegate callback method to get the selected image and put it on your custom view along with buttons (choose or retake).

Upvotes: 1

Related Questions