Custom ios camera shutter - ios

Is there any ready custom iris/shutter view for ios camera?
I'm going to implement camera app using AVFoundataion, and there is no shutter in it.

Nope, if you are purely using AVFoundation for capture, you need to build it yourself.
The alternative is using UIImagePickerController with a custom cameraOverlayView if your camera app is simple enough.

But UImagePickerController is not working correctly .because shutter is not opening in interrupted call or background apps.

Related

IOS How to get image from IPhone camera scene by programmatically without press shoot button?

I am trying to get image from camera and send it to the server automatically.
So I want to know how to capture image from iphone camera scene without press shoot button.
Please help.
Thanks.
How to save photos taken using AVFoundation to Photo Album?
I use this code and solve problem.
https://developer.apple.com/library/content/samplecode/AVCam/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010112
AV Cam-iOS also can solve my problem.
Thank you everyone.
I don't think it is possible. Capturing image using Camera interface will trigger UIImagePickerControllerDelegate methods. The delegates are only called when you pick an image through camera shutter button/image cropper.

AVCaptureSession VS UIImagePickerController camera preview

I'm developing an application similar to Instagram iOS app. Instagram have a custom camera preview. I want to develop something similar and the question is - what to use better for this purpose - UIImagePickerController with custom cameraOverlayView property or should I use AVCaptureSession ? Maybe someone have such experience and can give me an advice. Will be appreciate.
AVCaptureSession is more customisable than UIImagePickerController. In case of speed, there is not much difference. If you are using AVCaptureSession it is possible to switch between whiteBalanceMode, focusMode and exposureMode when taking still images. Also we can specify the quality of the taking photo. In case of UIImagePickerController, the camera view will be presented and we can add overlay on it. But in case of AVCaptureSession, we can manage the camera as a normal view and add controls over it. So I think AVCaptureSession will be more suitable for your requirement.
The below link will give you more details about implementing AVCaptureSession.
https://developer.apple.com/library/prerelease/ios/samplecode/AVCam/Introduction/Intro.html

Swift - Slow Motion Camera in App

I'm been learning Swift and iOS development and am interested in making an application that uses the camera on the back of the iPhone to shoot slow motion video and then allow the user to use a slider to move through the video normally, but also to move frame by frame. Of course, this would be regulated by a button that transitioned the user from "normal navigation" to frame by frame. Can anyone point me in the right direction? Are there any resources where I can read about using the "slo-mo" feature in a custom app? Thanks.
If you don't want the user to be able to save the slow-mo video, what you could do is take a video shot, then have the app play it back in slow-mo. You can do all this using the AVFoundation framework. Here are some links to help you out:
Taking Control of the iPhone Camera in iOS 8
Objective-C: How to do slow-motion video in iOS (yes, this is for Objective-C, but you can change the code to Swift or just copy and paste it into a new Objective-C file)

UIImagePickerController with timelapse/slowmo in iOS8

Can I add those features to a UIImagePickerController on iOS8?
In the camera app it seems like a native capability - but the question is do such an interface exist?
No, UIImagePickerController doesn't give you the option to record video in Slo Mo, Timelapse or add filters. For that you would have to use a Custom Camera built using the AVFoundation framework.

Does UIImagePicker Controller has access to all functionalities in IOS 7/IOS 8 camera app?

My requirement is to create a camera application, which contains all the functionalists like Photo,Video,Slow mo,Pano, filters.(like below screen)
My idea is to call the native camera api. I tried UIImagePickerController with options like this
cameraPickerUI.showsCameraControls =YES; but i can't bring filters, pano, slow mo option inside my application.
UIImagePicker Controller has access to all functionalities of camera api?
Using UIImagePickerController how to implement slow mo, filters,pano?(tiny help/ direction is more appreciated)
Please share your thoughts,suggestions,idea.
My device is IOS 7 version only.
Thanks!
No, you can't do it with UIImagePickerController. UIImagePickerController, it has not such kind of functionalities except crop facility.
You can use BradLarson's GPUImageView framework, with that you can do what you want.

Resources