Codes for ImageViewPickerControllerSourceTypeCamera - iphone

My problem is that i want to replace the camera view with my own view that will capture the image and then again get the same controls of iPhone camera after capturing the image ie.
'Retake' and 'use' will appear.
please reply me

You can use the cameraOverlayView to replace your UI and set showsCameraControls to NO to not use Apple's buttons.

Related

Customization of UIImagePickerController

I am working on camera application in which I want to set the screen of the camera i.e camera window appear for particular frame. And in front of camera screen the cut out image is coming so that user can see the background through the cut out part of the image and capture the image. So any one know to do this i.e. customization of UIImagePickerController.
UIImagePickerController has a property named cameraOverlayView. Use this to set your camera overlay as any view you like. Use normal view transparency for letting the user see parts of the live camera view.

UIImagePickerController camera view overlay based on rotation

I want to notify users to take photos only in landscape mode.
I got idea to put some overlay on camera view and if iPhone is in portrait mode to put some label with text "Use landscape mode instead of portrait".
Is it posible? Do you have some advice how to make this posible?
You can have Text (label) on your overlay form (with the note). In the UIImagePickerController delegate check for orientation using , UIInterfaceOrientationIsLandscape and unhide (hide) the text.
I prefer displaying the text through out (irrespective of orientation) to the user for better user experience.

Working with iphone camera

I am using UIPickerView controller for displaying the camera on iphone screen for click event of button.
I want to add one button Draw Line on the camera screen and also i want to add an event with that Draw Line Button means if i will click on Draw Line button a one line will be draw on the screen of camera.
So pls reply me is it possible? and if yes then pls give me your reply with some examples or links.
This would be possible. You can achieve this with cameraOverlayView in UIImagePickerController.

Suggestion for camera overlay

Hi i want to make a applciation in which the user when open the application the camera gets open and then user can type with camera being on .
I need some sugestions for this or any link or some helping tutorial will do .
I think after opening camera we need to set a transparent overlay contoller on it and text field on that overlay controller .Am i on correct path .
Any suggestions are welcomed.
Yep, that’s about the right approach. Check out the UIImagePickerController docs, specifically its cameraOverlayView property (which you can set to a transparent view containing your UITextView or UITextField to have it overlaid onto the camera view) and the showsCameraControls property (which you can set to NO to hide the built-in “take picture” button and focus controls and whatnot).

Tabbar Application with camera

I want to implement camera in a Tab Bar application. I have been able to make the camera appear but there is no capture button to capture the image. How can I customize the camera view so that the capture button appears?
Thank you.
Normally you should get an image like this. Clicking on the camera icon will take the photo.
Arn't you getting like this? Then check your UIImagePickerController and its delegates.