Unable to use an existing Xamarin Form
eusebiu opened this issue · 0 comments
eusebiu commented
I noticed that if in the sample for XF you replace (in RootViewController):
NavController.PushViewController(new IntroPage().CreateViewController(), false);
with
var xfPage = (Page)this.Element;
NavController.PushViewController(xfPage.CreateViewController(), false);
you'll get an empty screen.
If the IntroPage uses custom styles (StaticResource), new-ing it will cause a runtime exception.