iphone camera view with a custom size - iphone

I need to have a preview of the camera but not in fullscreen. Actually I need to resize the camera view to manage place for my overlay view.
I need a resize camera view and not a truncated one.
Do you have any ideas/pointers to achieve this?
Thanks for your help :)
Regards,

Try the cameraViewTransform property of the UIImagePickerController.

Related

Drag & Resize images in UIImageView

Hello I want to drag image from another view and add that in another View and I am using SPUserRezisableView for resizing the view but it works only for UIView, how can I implement it for UIImageView.
Please refer to the link below for resizing the images in iphone.
Resize Image High Quality
I hope this will provide some help to solve the problem up

don't present camera in full screen

Is there a way presenting the camera interface not in full screen specially in the iPad?
I've tried the cameraOverlay but it still present the camera UI in full screen.
just add an additional view object to your nib/storyboard and use that as your camera interface.

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.

resize an image without UIScrollView

I want to resize an image without UIScrollView in iPhone application.
I want to use touchesMoved. How to do it?
Thank you
I usually load the image in a UIWebView instead of UIImageView, then you automatically get zoom/resize behaviour.
You can set the transform property of your UIImageView.

Codes for ImageViewPickerControllerSourceTypeCamera

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.