links for 2009-02-24 iPhone: Using Pre-processor Directives for Device Testing How to identify whether code is being compiled for the simulator or an actual device, to handle things that don't work in the simulator. (tags: iphone programming tips) Share this:FacebookMastodonTwitterMoreRedditLinkedInPocketTumblrEmailPrintLike this:Like Loading...