My App when the user requests, starts an QR Scanner page.
On the first attempt, I check for LLCamera.AuthorizationDenied, which is true, as it has never requested, so it displays a message, and after that it request the user to allow access to camera.
If the user allows, it runs correctly. But if I go into my OS App Settings, and turn off camera access (which a user can do), then when I run again the App, when it reaches LLCamera.AuthorizationDenied, this is false (I think because it was not denied, but access is turn off), so it continues an does not ask for permission.
So after that when it tries to open en Scanner (iBarCode) it crashes.
Is there a standard way to check not only if it was denied, but if current OS App Settings, the camera access is turned on?
Thanks
FBP
On the first attempt, I check for LLCamera.AuthorizationDenied, which is true, as it has never requested, so it displays a message, and after that it request the user to allow access to camera.
If the user allows, it runs correctly. But if I go into my OS App Settings, and turn off camera access (which a user can do), then when I run again the App, when it reaches LLCamera.AuthorizationDenied, this is false (I think because it was not denied, but access is turn off), so it continues an does not ask for permission.
So after that when it tries to open en Scanner (iBarCode) it crashes.
Is there a standard way to check not only if it was denied, but if current OS App Settings, the camera access is turned on?
Thanks
FBP