How to collapse system tray in windows 10 Phone UWP -
i'm developing windows 10 uwp app. need collapse system tray windows 10 mobile app.
finally got answer
var statusbar = "windows.ui.viewmanagement.statusbar"; if (apiinformation.istypepresent(statusbar)) { //await windows.ui.viewmanagement.statusbar.getforcurrentview().showasync(); await windows.ui.viewmanagement.statusbar.getforcurrentview().hideasync(); }
note: don't forget add windows phone extention before using above code
fore more info: https://msdn.microsoft.com/en-us/library/windows/apps/dn609832.aspx
Comments
Post a Comment