Search
 
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
Name
3+7 =