Forum General

White Screen after Launch Screen and App Start in Shared Project

Priya2018Priya2018 USMember ✭✭

Hello,

This is my first Xamarin Shared app for IOS and Android (Xamarin.Forms).
i had added Launch Screen for my IOS project from XSLaunchImageAssets but i could not see Launch screen so then i checked for LaunchScreen.StoryBoard added UIImage and set LaunchScreen Image from Resource. now i am able to see Launch screen but after its disappear White screen appears for couple of second and then my App Start...

why does i see white Screen? after Launch Screen directly App should load with out White screen....i am not able to understand from where white screen is Appearing ?

Please help me out....
thanks in advance

Answers

  • CharwakaCharwaka INMember ✭✭✭✭✭
    edited January 2018

    Normally "White screen" will appear on initial launch for Android and iOS for Forms APP.since you have set splash screen it should not display.anyway please go through following link

    https://developer.xamarin.com/guides/ios/application_fundamentals/working_with_images/launch-screens/

  • Priya2018Priya2018 USMember ✭✭

    @Charwaka said:
    Normally "White screen" will appear on initial launch for Android and iOS for Forms APP.

    i don't think so , i had seen so many App they do not get ...any Black or White screen after Launch Screen Appears....
    my question is After Launch Screen => White Screen => App Loaded with 1st Page. but normal procedure should be Launch Screen => App Loaded with 1st Page there should not be White Screen.... its happening for my App.....meaning i am missing something....

  • CharwakaCharwaka INMember ✭✭✭✭✭

    @Priya2018 said:

    @Charwaka said:
    Normally "White screen" will appear on initial launch for Android and iOS for Forms APP.

    i don't think so , i had seen so many App they do not get ...any Black or White screen after Launch Screen Appears....
    my question is After Launch Screen => White Screen => App Loaded with 1st Page. but normal procedure should be Launch Screen => App Loaded with 1st Page there should not be White Screen.... its happening for my App.....meaning i am missing something....

    can you go through my comment once again

  • DarshanJSDarshanJS USMember ✭✭✭✭

    Hi priya,

    whether you are checking the output in emulator or real device, If it is in emulator no worries please check in real device, in real device also you are getting this issue.

    In your app first page whether you are fetching huge data or high resolution images because of that also it may show white screen. Please check

  • Priya2018Priya2018 USMember ✭✭

    hello,

    i am only testing in real device, i am not at all fetching any data..infact once Launch Screen is displayed my login page is pushed .... once user enters data then only process start....so from Launch Screen to push page no data ...only Page pushed....

  • CharwakaCharwaka INMember ✭✭✭✭✭

    @Priya2018 said:
    hello,

    i am only testing in real device, i am not at all fetching any data..infact once Launch Screen is displayed my login page is pushed .... once user enters data then only process start....so from Launch Screen to push page no data ...only Page pushed....

    Are you using any MvvM framework for pushing pages or Default Xamarin MvvM ? have you tired putting break points and checked ?

    And also check this once

    codeworks.it/blog/?p=294

  • Priya2018Priya2018 USMember ✭✭

    default... like Launch screen LaunchScreen.storyboard and below code to push 1st page

                    public App()
                    {
                        MainPage = new NavigationPage(new LoginPage())
                        {
                            BarBackgroundColor = Color.FromHex("#2180C4"),
                            BarTextColor = Color.White,
                        };
                    }
    
  • Priya2018Priya2018 USMember ✭✭
    edited January 2018

    @Charwaka said:

    @Priya2018 said:
    hello,

    i am only testing in real device, i am not at all fetching any data..infact once Launch Screen is displayed my login page is pushed .... once user enters data then only process start....so from Launch Screen to push page no data ...only Page pushed....

    Are you using any MvvM framework for pushing pages or Default Xamarin MvvM ? have you tired putting break points and checked ?

    And also check this once

    codeworks.it/blog/?p=294

    i had tried to use Assets also info.plist made changes but no luck.....

    so i added image to Launchscreen.storyboard

    i will go through your Link

  • rkotulanrkotulan Member ✭✭

    Hello,

    I have same issue. Any workaround?

    Thank you,
    Rudolf

  • MamunPriyaMamunPriya Member ✭✭

    Hi,
    Currently i am also facing the same issue,After splashscreen there i a white screen for ios only.The android app is working fine.

  • JohnHJohnH GBMember ✭✭✭✭✭

    @MamunPriya said:
    Hi,
    Currently i am also facing the same issue,After splashscreen there i a white screen for ios only.The android app is working fine.

    I would suggest creating your own thread rather than jump on someone else's, the cause of your white screen is almost certainly not the same as the original poster. I suggest you also include info on what your app does, check any required permissions for features your app is running. You know, useful information.

Sign In or Register to comment.