IPhone UIImagepicker with camera showing camera roll thumbnail like default camera app?

那年仲夏 提交于 2019-12-08 03:29:37

问题


im working in iphone's camera app, using UIImagePicker to launch the camera. Everything goes well, just a need to use the default controls showed in the camera app in iphone(little thumbnail from the last pic in camera roll and take photo buttons) and its animation(take and send the picture to the left bottom thumbnail), not default in UIImagePicker (cancel and take photo buttons). How i can do that? thankz :D


回答1:


You can't do that. What you should do is present a UIActionSheet and ask if the user wants to get a photo from the Camera or their Photo Albums.




回答2:


You may try to use the cameraOverlayView property or create your own custom controls duplicating the default controls (hiding the default controls with showsCameraControls = NO).



来源:https://stackoverflow.com/questions/3722855/iphone-uiimagepicker-with-camera-showing-camera-roll-thumbnail-like-default-came

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!