Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

IOS Simulater = Big White Screen?!

$
0
0

I really really want to like this product.
I was drawn to the concept of Xaml once and run on Android and IOS...works for me. After/If we get some traction we can go back into the code and do individual tweaks. Sounds heavenly. Right now the situation is Xaml run on Android and get a blank white screen on IOS.
I didn't monkey with the IOS generated code, so here is what I did monkey with:
1) App.cs

public class App
    {
        public static Page GetMainPage()
        {
            return new NavigationPage(new HomePage());
        }
    }

2) HomePage.xaml and HomePage.cs:
`
<?xml version="1.0" encoding="utf-8" ?>





=================

public partial class HomePage : ContentPage
{
public HomePage()
{
InitializeComponent();
BindingContext = new HomeViewModel();
}
`
As of now the app runs on the iphone simulator on the mac (only if I right click on the project and select Debug->Run new instance, if I try to execute from the toolbar as normal I received 'no device selected', but that is a different post).

Just to verify that the code is actually executing I put a breakpoint in the HomePage ctor....it was hit just fine.

So....I'm completely clueless about this white screen thing on IOS.....any clues?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>