iOS Question [ Solved ] Cant save photos to gallery

Discussion in 'iOS Questions' started by Sasuke Sama, May 28, 2019.

  1. Sasuke Sama

    Sasuke Sama Active Member Licensed User

    Hi im trying to save a photo to gallery using the iphone lib but im getting the error

    Code:
    Signal - 6
    Stack Trace: (
        
    "0   SnoAnime             SignalHandler + 120",
        
    "1   libsystem_platform.dylib            0x000000019be699e0 <redacted> + 40",
        
    "2   libsystem_kernel.dylib              0x000000019bdeb80c <redacted> + 100",
        
    "3   libsystem_kernel.dylib              0x000000019bdeb83c 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 aleady add the
    Code:
    #PlistExtra: <key>NSPhotoLibraryUsageDescription</key><string>This app needs access to photos.</string>
    and using this to save
    Code:
    iphone.AddImageToAlbum(ImageView2.Bitmap)

    Thank you.
     
    Last edited: May 28, 2019
  2. Erel

    Erel Administrator Staff Member Licensed User

    Works fine here. Tested on iOS 12.

    Try to also add this key: NSPhotoLibraryUsageDescription
     
  3. Sasuke Sama

    Sasuke Sama Active Member Licensed User

    I have add the key as i mentioned above and running the latest ios 12
    But im not sure what that error is
    Also when i start the app it doesn't asking me that the app will need to access my photos
     
  4. Sasuke Sama

    Sasuke Sama Active Member Licensed User

    On both debug and releases the message not showing
    I also tried a clean install but still the same
     
  5. Sasuke Sama

    Sasuke Sama Active Member Licensed User

    Code:
    #PlistExtra:<key>NSPhotoLibraryAddUsageDescription</key><string>This app add photos to the photo library</string>
    Fixed with adding this
     
    Erel likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice