0

I want to show camera in rectangle shape as a part of UItableViewCell to scan numbers.

How to change size of UIImagePickerViewController and add it as a subview?

Soumya Ranjan
  • 4,817
  • 2
  • 26
  • 51
Gaurav Borole
  • 796
  • 2
  • 13
  • 32

1 Answers1

1

You can either add the UIImagePickerViewController as childViewController and add its view as subview to your cell (make sure you don;t repeat it on reuse), or you can do your scanner with AVFoundation, and add the AVCaptureVideoPreviewLayer as sublayer to your view's layer. I would chose the latter.

Levi
  • 7,313
  • 2
  • 32
  • 44