iOS Question [SOLVED] Cant add video to album

Sasuke Sama

Active Member
Licensed User
[ Solved ]
just add this to the app
B4X:
#PlistExtra:<key>NSPhotoLibraryAddUsageDescription</key><string>This app add photos to the photo library</string>

Hi
im trying to add a video to the album after downloading it but the app crash when i press the button to add it to the album with the error
B4X:
Signal - 6
Stack Trace: (
    "0   SnoAnime             SignalHandler + 120",
    "1   libsystem_platform.dylib            0x00000002290759e0 <redacted> + 40",
    "2   libsystem_kernel.dylib              0x0000000228ff780c <redacted> + 100",
    "3   libsystem_kernel.dylib              0x0000000228ff783c fcntl + 0",
    "4   TCC                  <redacted> + 0",
    "5   TCC                  <redacted> + 0",
    "6   TCC                  <redacted> + 276",
    "7   libxpc.dylib         <redacted> + 60",
    "8   libxpc.dylib         <redacted> + 88",
    "9   libdispatch.dylib    <redacted> + 16"
)
i use this code to add
B4X:
    phone.AddVideoToAlbum(File.DirDocuments,"video.mp4")
same error when trying to add photo
 
Last edited:
Top