Andris Active Member Licensed User Longtime User Sep 22, 2022 #1 In various posts, I see mention of iPhone.Phone.SetFlashLight as being an easy way to turn the iPhone torch on and off (as in this post). This may be a stupid question, but how do I set up "iPhone?" I assume I need to include the iPhone Library in my project, but how do I initialize "iPhone?" Must be missing something simple. Also - where can documentation be found on the iPhone Library (internal to B4i). I looked all over the place in the forums, and still can't find it. Last edited: Sep 22, 2022
In various posts, I see mention of iPhone.Phone.SetFlashLight as being an easy way to turn the iPhone torch on and off (as in this post). This may be a stupid question, but how do I set up "iPhone?" I assume I need to include the iPhone Library in my project, but how do I initialize "iPhone?" Must be missing something simple. Also - where can documentation be found on the iPhone Library (internal to B4i). I looked all over the place in the forums, and still can't find it.
Erel B4X founder Staff member Licensed User Longtime User Sep 23, 2022 #2 Code: Copy Dim p As Phone p.SetFlashlight(True) Upvote 0
Andris Active Member Licensed User Longtime User Sep 23, 2022 #3 Erel said: Code: Copy Dim p As Phone p.SetFlashlight(True) . Click to expand... I cannot BELIEVE that I couldn't find Phone after enabling the iPhone Library. . Thanks, and sorry for wasting your time, Erel! Upvote 0
Erel said: Code: Copy Dim p As Phone p.SetFlashlight(True) . Click to expand... I cannot BELIEVE that I couldn't find Phone after enabling the iPhone Library. . Thanks, and sorry for wasting your time, Erel!