Category / Section
How to resolve SfCircularGauge not rendering issue in iOS and UWP
1 min read
Xamarin does not load the renderer rendered assemblies, by default, in iOS and UWP projects, by default., so in order to solve this, you have to So, manually load it by creating an instance of SfGaugeRenderer class in the respective projects as mentioned below.
iOS Project
Create an instance of SfGaugeRenderer in FinishedLaunching overridden method of AppDelegate class in iOS Project as shown below,
C#:
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { ... new Syncfusion.SfGauge.XForms.iOS.SfGaugeRenderer(); ... }
UWP ProjectCreate an instance of SfGaugeRenderer in the constructor of MainPage in UWP project as shown below., C#: public MainPage() { new Syncfusion.SfGauge.XForms.UWP.SfGaugeRenderer(); ... }
|