I would like to use the disablesAutomaticKeyboardDismissal property on UIViewController that has been introduced into iOS 4.3 recently.
How do you handle/check for situations where the an earlier version of iOS is running my application and this property isn’t available?
If it was a selector, I would use respondsToSelector:@selector(something) but I’m not sure what to do for a property.
Thanks folks!
A property just declares setters and getters. In this case:
and
So you can just do: