mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-04 21:06:45 +08:00
5 lines
162 B
TypeScript
5 lines
162 B
TypeScript
export const SDK_VERSION = parseFloat(UIDevice.currentDevice.systemVersion);
|
|
export function supportsGlass(): boolean {
|
|
return __APPLE__ && SDK_VERSION >= 26;
|
|
}
|