I saw applications on the iPhone that if version 3.0 uses 3.0 functions / APIs such as the email linker in the application, and if you use 2.x without using these functions, then exit the application to start Mail instead.
How it's done?
My initial thoughts were to use
#ifdef __IPHONE_3_0
but this will only work if I really create an application against the 3.0 SDK, which will prevent it from running on 2.x phones.
In addition, working with this thought, the application must be connected to the SDK 3.0 in any case in order to get the 3.0 API ...
I am a little confused as to how this was achieved.
source share