iOS Question Camera & LLCamera not working

SlashIT

Member
Licensed User
Longtime User
hi,
when I try to initialize the camera or LLCamera, the program crashes without any error in the logfile. I have the latest version of b4i and imedia 1.21. I also tried to compile the examples, but it happens the same, the program ends without any error, it happened to someone else?
I can no longer access the camera ...
i Use ios 10 / iphone 5s
3 days ago I updated Android SDK and the mac builder runs on Sierra.
thank you
 

SlashIT

Member
Licensed User
Longtime User
from your example LLCamera.b4i

log file:
B4X:
Application_Start

certificates: all ok
package name: ok

program exit at
B4X:
Sub InitializeCamera(front As Boolean)
   If llc.IsInitialized Then llc.StopPreview
   llc.Initialize(PreviewPanel, "llc", front)     <<<<<<<<<<<<<<<  fail
   llc.StartPreview
   currentPreset = llc.Preset
   ConfigureCamera
End Sub
 
Upvote 0

SlashIT

Member
Licensed User
Longtime User
Solved.
I found another post these references:
B4X:
#PlistExtra:<key>NSCameraUsageDescription</key><string>Taking a photo and attach to the task.</string>
#PlistExtra:<key>NSPhotoLibraryUsageDescription</key><string>Select your photo and attach to the task.</string>
and magically the iPhone asked me finally access to the camera and everything is back to work ...
 
Upvote 0
Top