Only check for focus in iOS.