Regarding yesterday's post about the #SFSymbols #ImageSource for #macOS and #iOS.
As Apple states in their docs (https://developer.apple.com/documentation/uikit/uiimage/configuring_and_displaying_symbol_images_in_your_ui) we should apply configuration to the view.
So the solution is to simply use the #CommunityToolkit 's IconTintBehavior to get the icons colored.
https://mastodon.social/@msicc/109765955918118362
#iOSDev #MacCatalyst #dotNET #dotNET6 #CASBAN6 #MacDev #csharp #xaml #MAUIDev #MAUI #sideproject
#sfsymbols #imagesource #macos #iOS #communitytoolkit #iosdev #MacCatalyst #dotnet #dotnet6 #casban6 #macdev #csharp #xaml #mauidev #maui #sideproject
Well, the biggest part of this week's #dotNETMAUI task is done. I implemented a custom #ImageSource that uses #SFSymbols on #macOS and #iOS. Icons finally show up, now I need to figure out the coloring which is defaulting to the #accent tint no matter what I set (at least on the Mac).
Will #blog about it when I ironed out all the quirks.
#iOSDev #MacCatalyst #dotNET #dotNET6 #CASBAN6 #MacDev #csharp #xaml #MAUIDev #MAUI #sideproject
#dotnetmaui #imagesource #sfsymbols #macos #iOS #accent #blog #iosdev #MacCatalyst #dotnet #dotnet6 #casban6 #macdev #csharp #xaml #mauidev #maui #sideproject