views:

179

answers:

1

Hi,

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

Saw that: http://www.clarkcox.com/blog/2009/06/23/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 ? Can someone post another example of code for testing if an object respond to a specific message ? If a specific kind of class exists?

Thanks for your input !

+2  A: 

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

David Maymudes
Yep, saw that, implemented that too and works great.
JFMartin