DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SWIFT
Check if device is iPhone or not swift ios
let isiPhone = UIDevice.current.userInterfaceIdiom.rawValue == 0 ? true : false
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#Check
#device
#iPhone
#swift
#ios
ADD COMMENT
Topic
COMMENT
Name
3+7 =
Submit