0

I am considering to use a function that was introduced in an iPhone OS version (say 4.0), but I may still want to support devices with older versions and just disable that function.

What would be the best practice for doing this? Is it even allowed?

Krumelur
  • 31,081
  • 7
  • 77
  • 119
  • possible duplicate of [How do you optionally use iPhone OS 3.0 features in a 2.0 compatible app?](http://stackoverflow.com/questions/986589/how-do-you-optionally-use-iphone-os-3-0-features-in-a-2-0-compatible-app) – Nikolai Ruhe May 29 '10 at 10:34

1 Answers1

0

I ended up using respondsToSelector. The related/dup question points to an Apple example, that's a good indication that Apple allows it.

I voted my question a duplicate. Thanks!

Krumelur
  • 31,081
  • 7
  • 77
  • 119