Answers for "swift test if simulator"

0

swift test if simulator

#if targetEnvironment(simulator)
  // your simulator code
#else
  // your real device code
#endif
Posted by: Guest on June-19-2020

Code answers related to "Swift"

Browse Popular Code Answers by Language