how to enable preview after selecting picture from library?

前端 未结 2 880
孤独总比滥情好
孤独总比滥情好 2021-01-29 03:10

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

相关标签:
2条回答
  • 2021-01-29 03:37

    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.

    0 讨论(0)
  • 2021-01-29 03:41

    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).

    0 讨论(0)
提交回复
热议问题