-
-
Save gliubc/902096d0c6bdd47d43ef42b27ac0ba40 to your computer and use it in GitHub Desktop.
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 (@available(iOS 11, *)) { | |
// Use iOS 11 APIs. | |
} else { | |
// Alternative code for earlier versions of iOS. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment