Returns a locale from supportedLocales
that best matches one of preferred locales, or returns a defaultLocale
.
The array of locales that your application supports.
The default locale that is returned if there's no matching locale among preferred.
Get OS and device versions.