Articles in this section
Category / Section

How to resolve SfSchedule not rendering issue in iOS and UWP ?

1 min read

Xamarin does not load the renderer assemblies, by default, in iOS and UWP projects, so in order to solve this, you have to manually load it by creating an instance of SfScheduleRenderer class in the respective projects as mentioned below.

 

iOS Project

 

Create an instance of SfScheduleRenderer in Finished Launching overridden method of AppDelegate class in iOS Project as shown below,

 

C#:

public override bool FinishedLaunching (UIApplication app, NSDictionary options)
{ 
                ... 
                new SfScheduleRenderer (); 
                ... 
}

 

UWP Project

 

Create an instance of SfScheduleRenderer in the constructor of MainPage in UWP project as shown below.

 

C#:

public MainPage ()
{
    new SfScheduleRenderer (); 
                ... 
}
 

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied