Created
May 14, 2017 23:05
-
-
Save colinkiama/fb3c0e53c4a4d57a2f1a8cf0f03fe75a to your computer and use it in GitHub Desktop.
Example of targetting device specific code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (Windows.Foundation.Metadata.ApiInformation.IsTypePresent("Windows.UI.ViewManagement.StatusBar")) | |
{ | |
//Do something with the Status Bar or specific to the phone. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment