Export as an image from chart is not working on IOS

hi,
i'm using your sample codein order to export an image from a chart and on IOS the app breaks.
chart.SaveAsImage("ChartSample.jpg");
I'm using your mail release.
thanks

2 Replies 1 reply marked as answer

LU Luca March 14, 2021 06:33 PM UTC

please complete you documentation.
you wrote permission for android but you forget ios
you must add NSPhotoLibraryAddUsageDescription in order to work.
thanks


SM Saravanan Madheswaran Syncfusion Team March 15, 2021 07:29 AM UTC

Hi Luca, 
 
Greetings from Syncfusion support and thanks for your feedback.  
 
We would like to let you know that this is a common issue we faced on iOS 10+ devices. We must enable permission to access the drive to save images to photos library. We already have logged Kb for this.  
 
 
We are currently revamping our UG documents, and we will take your feedback under consideration. 
 
Thanks,  
Saravanan. 


Marked as answer
Loader.
Up arrow icon