Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift make condition that you are in sumulator

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