How to show all camera controls with/for UIImagePickerController?

前端 未结 2 1972
野性不改
野性不改 2021-01-25 17:20

I have trouble showing the camera controls when using UIImagePickerController. Specifically, I need to be able to select between slo-mo, video, photo, square and pano.

T

2条回答
  •  情深已故
    2021-01-25 18:19

    UIImagePickerController doesn't give you Apple's whole Camera app to use inside of your own app. Not all of the functionality of the Camera app is available. You can print available media types by calling -[UIImagePicker availableMediaTypesForSourceType:] and you'll find that you get kUTTypeImage and kUTTypeMovie.

    Square, slo-mo, time-lapse, and panorama functionalities are not provided by UIImagePickerController.

提交回复
热议问题