Camera available?

I thought I read this somewhere but I can’t find it.
I don’t even know if there is a situation where it would be a problem or not…

How can I programmatically determine if the device’s camera is available or not?

All iOS devices that Xojo builds for have cameras so…

The simulator just fails with it, so it started me wondering in what other situations the camera may not be available.

Thanks, Greg.

Ah yes, that’s true.

Here’s a more comprehensive list:

https://developer.apple.com/support/required-device-capabilities/

thank you.

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.