Quantcast
Channel: Questions in topic: "vuforia"
Viewing all articles
Browse latest Browse all 934

Turn on iPhone torch using ARKit

$
0
0
Hi, I'm doing an AR app for iOS with ARKit and need to be able to turn on the torch for low-light conditions. I can turn on the torch via vuforia using [this method](https://answers.unity.com/questions/270832/how-to-turn-on-camera-light-make-a-flashlight-on-i.html) but enabling Vuforia overrides the ARKit camera-feed so the screen is all black. I have found [this](https://stackoverflow.com/questions/47008256/how-to-turn-on-offf-camera-flash-light-with-arkit) answer on how to do it in swift but I have no idea where to put that script and how to access it from a unity UI button. Any ideas or suggestions of where to look?

Viewing all articles
Browse latest Browse all 934

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>