1
votes

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

2

2 Answers

3
votes

Try using

ApplicationView.PreferredLaunchWindowingMode = ApplicationViewWindowingMode.FullScreen;

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

ApplicationView.GetForCurrentView().TryEnterFullScreenMode();
0
votes

Above is StatusBar, to hide it:

 var statusBar = StatusBar.GetForCurrentView();
 await statusBar.HideAsync();