The following function is able to get the access the camera on an android device and a windows pc but what should I do to make it iOS compatible?
scanQR(){