-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Black Screen when using a Login page #79
Comments
It doesn't seem like something related to Sidebar. Have you tried it with just a normal UIViewController? |
Hi! |
This logic worked in my case. In AppDelegate class. In FinishedLaunching() method put this.
Now,
|
Hello,
Here is my code:
AppDelegate.cs
RootViewController.cs
My Login screen is a UIViewController. NavController is a class that inherits from UINavigationController. The fundamental is: if user is not authenticated, so, i show the login page. When the user enter the correct credentials, i call the event 'OnLoginSuccess', that is signed in AppDelegate. So, i change the isAuthenticated var to true and set my RootViewController class as Window.RootViewController and call Windows.MakeKeyAndVisible();
When i testing this code at emulator, works fine (iphone 5s, iphone 6s+, ipad pro 9.7). But, in a real device (iphone 6 and iphone 6s) only appears a Black Screen after the login.
All real devices are using iOS 11.1 and 11.0.3.
I'm little bit frustrated.
Thanks for the help!
The text was updated successfully, but these errors were encountered: