Search code examples
c#windows-phonefullscreenwin-universal-appwindows-10-mobile

Full screen WP universal app


I have small problem (so far) at developing my first universal app, when I test it on my phone, app isn't full screen, there is black line for task bar ( that's invisible ) at the top. So does anyone know how to make an app that uses full screen or how to color task bar and make it visible in windows universal app. I know how to do both in windows 8.1 but I have no clue here.

Thanks for all help in advance and happy holidays.

Way app look on my phone


Solution

  • Try using

    ApplicationView.PreferredLaunchWindowingMode = ApplicationViewWindowingMode.FullScreen;
    

    For runtime switching to fullscreen there is also this method call:

    ApplicationView.GetForCurrentView().TryEnterFullScreenMode();