How to get IOS device camera status(if it is on or off)

  • How to get IOS device camera status(if it is on or off)

    Hi,
    I am implementing a SwiftUI application for IOS devices and I require the IOS device camera status(if it is on or off) for my development.
    The only relevant info I found is, the green dot on the right corner of the screen but it is also not applicable with the reason that I can not get green dot status from my code.
    Could you please support me about getting camera status(On or Off) info via SwiftUI?
    Thanks a lot in advance.
    Best Regards Emre Günaydin
  • Due to Apple's understanding of app sandboxing I pretty much doubt any 3rd party app can access the camera status controlled by a different app. I'm open to corrections, but I don't think you can achieve your plan...

    Mattes

    P.S.: I'm afraid the same applies to your second question.

    P.P.S.: As this forum's main language is German I'd appreciate a posting in German if feasible.
    Diese Seite bleibt aus technischen Gründen unbedruckt.