After upgrade my Xamarin.Forms version to 5.0.0.2244, I'm getting the following warning in Main.cs
file inside my iOS project:
Method
UIKit.UIApplication.Main
is obsolete: Use the overload withType
instead ofString
parameters for type safety.
This my Main.cs
file:
using UIKit;
namespace LindeGctMobileApplication.iOS
{
public class Application
{
private static void Main(string[] args)
{
UIApplication.Main(args, null, "AppDelegate"); // << warning
}
}
}
What do I need to change to remove this warning?
CrossMedia
plugin. The exception is: There's no current active window (System.InvalidOperationException) – Thermit