0

Is there an Objective-C mechanism to detect that you are running on Mountain Lion from within the iOS simulator? While in the iOS simulator I need to have a different code path execute on Mountain Lion that on earlier versions of Mac OS. The optimum solution would be to detect this at runtime but I think it would be an acceptable solution to detect at compile time as well and ifdef the two code paths. So... please post either if you have them. Thanks!

Go Rose-Hulman
  • 2,677
  • 2
  • 15
  • 10

0 Answers0