Enabling the photo library button on the UIImagePickerController

后端 未结 5 1957
庸人自扰
庸人自扰 2021-02-02 13:26

Does anyone know how to enable the photo album button on the UIImagePickerController when its in the camera mode? Like how the camera app on on the iphone can toggle between ima

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-02 14:18

    I'm afraid that this can't be done in that easy way (just enable or disable some magic feature). For some simple requirement, you can use cameraOverlayView and showsCameraControls to make the implementation.

    If you want to switch between photo/video mode, i think you can check this demo: http://developer.apple.com/library/ios/#samplecode/AVCam/Introduction/Intro.html

提交回复
热议问题