Link:
http://stackoverflow.com/questions/3122177/check-if-constant-is-defined-at-runtime-in-obj-c

In essence:
if (&UIKeyboardBoundsUserInfoKey != nil)
{
//Key exists
}

Advertisements