iphone - How to change height and width of camera view(UIImagePickerViewController) iOS? -
To show the camera in rectangular shape as a part of UItableViewCell
to scan the number Want to How to change the size of UIImagePickerViewController
and how to add it as subview
You can either add UIImagePickerViewController
as a childViewController
and add your view as a subview in your cell ( Make sure you repeat it; re using it again), or you can do your scanner with AVFoundation
, and AVCaptureVideoPreviewLayer
on the layer of your view. Add as target I had to choose the latter.
Comments
Post a Comment