1

I want to add copy and paste to my application but make it available to 2.2.1 devices. How should I proceed?

I saw SDKs and Deployment Targets.

If I understand correctly, I set the base SDK to 3.0 in order to be able to compile with 3.0 API (copy & paste), but I set the target for 2.2.1 to make the application available on 2.2.1 devices. In my code, I have to check every time I need to use a 3.0 API, right? Is there an example of code for testing if an object respond to a specific message? If a specific kind of class exists?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
JFMartin
  • 149
  • 1
  • 10

1 Answers1

2

See related question which includes a pointer to Apple's MailComposer example...

Community
  • 1
  • 1
David Maymudes
  • 5,664
  • 31
  • 34