I found an example on the website of Apple developers about the library looking ImageKit in which scanners connected but there is a problem because when I connect my scanner is not detected, I ran the program and tells me there is a function NSBeginAlertSheet
deprecated.
Somebody help me solve problems.
The link is here.