I've been asked to add a 3.0 feature (the Media Picker) to an app.
But that app must continue to run on a 2.2.1 device. (With the feature disabled)
How can I compile this, in such a way that it runs on 2.2.1, without getting a compiler error, for including a 3.0 feature?
As per the instructions in the MailComposer example, I've set my target setting to 2.2.1 and my base SDK to 3.1.2.
I've looked at weak-linking, but that is obviously just for the linker step and does nothing about compiler errors.