Revert to using number constants instead of __IPHONE_X_0 to check for iOS versions, since those versions will be undefined when targeting previous releases