Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to customize the iOS Visionkit VNDocumentCameraViewController

I am trying to scan a picture by using the controller VNDocumentCameraViewController from VisionKit. Is it possible to customize the controller by for example hiding the scan scan button and the flash option on the top? I just want to start scanning and getting notified if an image is recognized, without any interaction from the user

like image 850
emanyal Avatar asked Jan 20 '26 00:01

emanyal


1 Answers

As per Apple's Documentation, VNDocumentCameraViewController is not customizable. I too have been using the same and tried to customise it but nothing changes much. So to achieve custom implementation, either use vision framework and make your own UI or you can checkout the We-Scan Repository on Github which works exactly the same as VNDocumentCameraViewController and is fully customisable.

like image 164
Rahul Sharma Avatar answered Jan 21 '26 14:01

Rahul Sharma



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!