Hey guys,
I've seen apps on the iPhone that if running on 3.0 will use 3.0 features/APIs such as the in-app email composer, and if running on 2.x not using those features, and exiting the app to launch Mail instead.
How is this done?
My initial thoughts were to use
#ifdef __IPHONE_3_0
but that will only work if I actually build the app against the 3.0 SDK - which then prevents it from running on 2.x phones.
Also, running with that thought, the app has to be linked against the 3.0 SDK anyway to get the 3.0 APIs...
I'm a little confused as to how it's been achieved.