By default, in SfImageEditor when we save image, the image will be getting saved in gallery. We can also able to change the image saving location.
Step 1: Create SfImageEditor sample with all necessary assemblies.
Please refer the below link to create a simple SfImageEditor sample along with the ways to configure it.
Step 2: We can able to change the image saving location for all the xamarin platforms. For this, you need to implement a DependencyService which is implemented across all the platform specific projects.
For adding the DependencyService, first you need to add an interface in the PCL project as in the below code snippet:
Now, you have to implement and register the DependencyService in the assembly based on platform specific. This can be done as follows:
In iOS there is no possibilities to pick local directory for saving images.
Only we can save the image into particular directory.
Step3: Select Directory from DependencyService method call.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|