Last active
February 23, 2020 09:22
-
-
Save SwapnanilDhol/ceb7e6d6b2529fa3e2c6e853655ed3d3 to your computer and use it in GitHub Desktop.
DeviceType
This file contains hidden or 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
guard let type = UIDevice.current.deviceType else {return} | |
print(type) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment