Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift simulatore condition

#if targetEnvironment(simulator)
  // your simulator code
#else
  // your real device code
#endif
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #swift #simulatore #condition
ADD COMMENT
Topic
Name
1+2 =