简体   繁体   中英

UiimagePIckerController Interface with both camera and video

我们如何在相机和视频模式下显示UiImagepicker控制器界面,就像在iPhone上的默认相机应用程序中一样。

The way it has it within the OS is that it changes the picker via a slider in the bottom toolbar.

When the value changes from photo to video via the slider, you could recreate the UIImagePickerController with the appropriate mediaType and reload the view.

I do not know if this would be as seemless as the iPhone included way of doing things without testing it, however, this would allow you to change the picker being used from one to the other.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM