Ensure we only call the new protocol method and import the UIApplication
category on iOS builds only.