DEFINEs to know if I'm using simulator or iphone
Hi!
Which DEFINEs are available to know if I'm using the simulator or the iphone?
Thanks.
Which DEFINEs are available to know if I'm using the simulator or the iphone?
Thanks.
TargetConditionals.h
#define TARGET_OS_IPHONE
#define TARGET_IPHONE_SIMULATOR
Hope this helps.
#define TARGET_OS_IPHONE
#define TARGET_IPHONE_SIMULATOR
Hope this helps.
haudio Wrote:TargetConditionals.h
#define TARGET_OS_IPHONE
#define TARGET_IPHONE_SIMULATOR
Hope this helps.
That's what I wanted. Thanks a lot.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Most preferred iPhone simulator? | TimMcD | 5 | 3,354 |
Apr 16, 2010 05:30 PM Last Post: Chris Burkhardt |
|
| iPhone simulator performance | Mister T | 10 | 5,291 |
Feb 14, 2010 08:10 PM Last Post: Zwilnik |
|
| Why do I see strange texture borders on Simulator but not on iPhone? | riruilo | 2 | 2,384 |
Oct 4, 2009 10:33 AM Last Post: riruilo |
|
| iPhone or Simulator | jjslay | 2 | 2,424 |
Jun 20, 2009 11:42 PM Last Post: kodex |
|
| What defines a game to apple? I have a text adventure game, like zork... | jtbullet | 1 | 2,250 |
May 18, 2009 09:18 PM Last Post: Gillissie |
|

