mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +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;
|
|
}
|