Delphi AddImageToSavedPhotosAlbum IOS App Crash


I have the same problem to develop the iOS application with Delphi XE 10.2. update 3 My application will crash when I click save image (save to camera roll) using IFMXPhotoLibrary.

It happened with iPhone 8 iOS 12.

I am using:

Delphi Tokyo 10.2 update 3,
Hotfix: Delphi Tokyo 10.2.3 (HotFix 05.2018),
PAServer: Version,
Xcode: 10.0,
Xcode command line tools: 9.4.1

Below is source code:

if TPlatformServices.Current.SupportsPlatformService(IFMXPhotoLibrary, Service) then

I have already added a new key, NSPhotoLibraryUsageDescription, to the Version Information section of the project options. The value is be any text that will be displayed when the application requests permission to use the camera roll.

Comments are closed.