iphone - How to customise the Camera screen frame? -


I want to come into the camera with the desired frame so that I should be able to show the UIsearchbar Look at the same and I have to close the camera when touching UISearchBar , but the UIsearchbar should be visible. So I want to stop the camera to take the full iPhone screen as a frame. So I want to know how to customize the camera screen?

You have basically two options, the easiest one is to use the camera overlayview feature of UIImagePickerController You have the ability to display a view at the top of the camera:

If you need more detail then you can use the AVFoundation framework. In short, this will allow you to display the camera stream anywhere in a scene:

Here is a simple tutorial on how to take a picture with AVFoundation: < / Html>

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -