Changing FooterToolbarItem Icon at runtime, makes icons to disappear on IOS

Good afternoon,

we would like to change the FooterToolbarItem icon when the user press on it, in order to get a "selected appearance":

We made few custom icons:

 this.sfImageEditor.ToolbarSettings.ToolbarItems.Add(new FooterToolbarItem() { Name = "ThresholdFilter", Icon = ImageSource.FromFile("glyphicons_140_adjust.png"), IconHeight = 40 });
this.sfImageEditor.ToolbarSettings.ToolbarItems.Add(new FooterToolbarItem() { Name = "InvertColors", Icon = ImageSource.FromFile("glyphicons_245_fill.png"), IconHeight = 40 });
this.sfImageEditor.ToolbarSettings.ToolbarItems.Add(new FooterToolbarItem() { Name = "EraseAll", Icon = ImageSource.FromFile("glyphicons_246_clean.png"), IconHeight = 40 });

And we are changing the icon when the user press on each FooterToolbarItem:

using: 
private async void ToolbarSettings_ToolbarItemSelected(object sender, ToolbarItemSelectedEventArgs e)

if (itemName == "EraseAll")
this.sfImageEditor.ToolbarSettings.ToolbarItems.Where(x => x.Name == "EraseAll").First().Icon = ImageSource.FromFile("glyphicons_246_clean_selected.png");
else
this.sfImageEditor.ToolbarSettings.ToolbarItems.Where(x => x.Name == "EraseAll").First().Icon = ImageSource.FromFile("glyphicons_246_clean.png");


The code works fine on UWP and Android, but on IOS the icons disappear.

Thanks in advance


5 Replies

RS Ramya Soundar Rajan Syncfusion Team May 14, 2020 02:09 PM UTC

Hi Marco, 
 
We can reproduce the reported issue and we confirmed “Replacing toolbar item icon dynamically not updated in iOS” as an issue. The fix for the reported issue will be included in our weekly NuGet which is scheduled to be rolled out on May 26, 2020. We appreciate your patience until then.  
  
You can now track the status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.   
 
 
Note: The provided feedback link is private, and you need to login to view this feedback.   
 
Regards, 
Ramya S 



RS Ramya Soundar Rajan Syncfusion Team May 26, 2020 02:05 PM UTC

Hi Marco, 
 
Sorry for inconvenience caused. 
 
We have fixed the issue and the fix is on testing phase.  So, we were unable to move the fix in today's weekly NuGet and planned to include in our next weekly NuGet, which is expected to be rolled out on June 2,2020. 
 
Regards, 
Ramya S 



MN Marco Negroni May 26, 2020 02:14 PM UTC

Ok,

Thanks


RS Ramya Soundar Rajan Syncfusion Team May 27, 2020 07:08 AM UTC

Hi Marco, 
 
Thanks for your update. 
 
As we informed earlier, fix will be included in our upcoming weekly NuGet which is expected to be rolled out on June 2, 2020.   
 
Regards, 
Ramya S 



SP Sakthivel Palaniyappan Syncfusion Team June 2, 2020 02:04 PM UTC

Hi Marco,

We are glad to announce that our weekly NuGet was rolled out today and fix for the reported issue was included in the weekly NuGet.

NuGet Version: 18.1.0.55

We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.

Regards,
Sakthivel P.


Loader.
Up arrow icon