简体   繁体   English

使用UIImagePickerControllerSourceTypeCamera的CameraRoll按钮?

[英]CameraRoll Button using UIImagePickerControllerSourceTypeCamera?

I want my camera ui will have the regular Camera Roll button. 我希望我的相机用户界面具有常规的“相机胶卷”按钮。 The one that you have when you open the camera app. 打开相机应用程序时所拥有的那个。 Is there a simple way doing that or I'll have to use a custom layer? 有没有简单的方法可以这样做,或者我必须使用自定义图层? Tried searching in the documentation without success. 尝试在文档中搜索失败。

There is not an easy way to do it. 没有简单的方法可以做到这一点。 You should implement your own custom toolbar to replicate the camera app behavior. 您应该实现自己的自定义工具栏,以复制相机应用程序的行为。 You should use the overlay view property of the imagePicker. 您应该使用imagePicker的overlay view属性。 Have a look at this link for a possible implementation 看看这个链接可能的实现

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用CameraRoll组件本地图像未显示 - Using CameraRoll component local images are not displaying 使用React Native在Android上访问Camera和CameraRoll? - Access the Camera and CameraRoll on Android using React Native? React Native-使用CameraRoll Api是否可以访问相机? - React Native - Is this possible to access the camera by using the CameraRoll Api? 使用UIImagePickerControllerSourceTypeCamera时,iPod Touch(第5代)“源类型1不可用”崩溃 - iPod Touch (5th gen) 'Source type 1 not available' crash when using UIImagePickerControllerSourceTypeCamera 具有UIImagePickerControllerSourceTypeCamera方向问题的UIImagePickerViewController - UIImagePickerViewController with UIImagePickerControllerSourceTypeCamera orientation issue UIImagePickerController与UIImagePickerControllerSourceTypeCamera崩溃 - UIImagePickerController with UIImagePickerControllerSourceTypeCamera crash iOS UIImagePickerControllerSourceTypeCamera全屏照片无法捕获 - iOS UIImagePickerControllerSourceTypeCamera fullscreen photo not capturing 在UIImagePickerControllerSourceTypeCamera之后立即调整图像大小 - Immediately Resize Image after UIImagePickerControllerSourceTypeCamera iOS -> 将 2 UIImageView 保存到 cameraRoll - iOS -> saving 2 UIImageView to cameraRoll 如何在横向而不是纵向中显示UIImagePickerControllerSourceTypeCamera - How to show UIImagePickerControllerSourceTypeCamera in Landscape instead of Portrait
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM