XojoDoodle sample app quits emulator when "Save" is pressed.

XojoDoodle sample app quits emulator when “Save” is pressed.

I’ll check this when I’m back in my office, but it is likely the Declare used to save is not working on newer iOS versions. The Declare is not needed any more as you can just use an iOSSharingPanel instead.

This is not a problem with the Declare, but a side-effect of new security restrictions in iOS 11. In order to access the Photo Library, an entry is needed in the Info.plist. You can use the same entry you’d need for iOSSharingPanel:

[code]<?xml version="1.0" encoding="UTF-8"?>

NSPhotoLibraryAddUsageDescription Allow photos to be added to the photo library. [/code]

Put the above in a text filed called Info.plist and drag into on the Navigator for the project so it gets included when the app is built.

This project has been updated for 2018r2 to include the Info.plist and use iOSSharingPanel rather than the Declare.