IPhone UIImagepicker with camera showing camera ro

2019-06-05 17:29发布

问题:

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).