- Home /
Question by
skoteskote · May 03, 2018 at 06:40 PM ·
shaderiosvuforiaaugmented-realitytorch
Turn on iPhone torch using ARKit
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 but enabling Vuforia overrides the ARKit camera-feed so the screen is all black.
I have found this 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?
Comment
Best Answer
Answer by skoteskote · Nov 25, 2020 at 12:11 PM
Solution, now possible with this asset: https://assetstore.unity.com/packages/tools/integration/ios-native-goodies-70861