There are plenty of tutorials on how to access the camera roll with a picker view, but what about closing the app, and loading the camera roll, ie. leaving the app altogether to access the camera roll.
Is this possible to do?
Related
Anyone knows how to hide Recording Indicator in ios14?
I’m writing a camera app, so is very clear that when the app is in use both camera and microphone are in use!
You can't. That's the whole purpose of the indicators: that the developer can't hide that their app is recording audio or video. Even the stock Camera app doesn't do that.
I have app which recognize image chosen from Camera roll (CoreML). Now I want to write some test for this to not have to click it through every time I make a change in the app. How can I put testing images into simulator's Camera roll programatically, so somebody else would just run the test and it would do everything for him?
You can go into safari on the simulator and search for images. Save the images and you should have access to them in the camera roll. If you must do it programmatically, then this link might help.
swift Take a photo and save to photo library
I'm building an application which takes photos using the UIImagePickerController. Works great.
The problem however is that I don't want to use image rotation. I always want a photo in portrait mode just as the user sees it on the screen.
When you take your iPhone on the side and then slowly take it back to normal the orientationmode isn't updated. Now when you take the photo the orientation flags in the EXIF data are set.
Is there a way to get rid of orientation support in de imagepicker? Could I just disable the accelerometer?
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
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.
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).
I am building a custom camera app, and would like to have the camera view similar to the native camera app in iPhone. (i.e., picks videos as a non-modal view, stays in the camera view after each video taken. I found the retake and use views unnecessary). Is there any possible way to do it? Thanks.
you can't do it for videos at present, but you can do it for still pictures in OS 3.1. if you search for "takePicture" and "cameraOverlayView" you should find helpful information; you can resize the preview window to be any size you like.