updated user agent pattern for iOS platform check