Needle Engine

Changes between version 3.30.0 and 3.31.0
Files changed (1) hide show
  1. src/engine/engine_utils.ts +2 -2
src/engine/engine_utils.ts CHANGED
@@ -440,9 +440,9 @@
440
440
  /** Is MacOS or Windows (and not hololens) */
441
441
  export function isDesktop() {
442
442
  const ua = window.navigator.userAgent;
443
- const standalone = /Windows|MacOS/.test(ua);
443
+ const standalone = /Windows|MacOS|Mac OS/.test(ua);
444
444
  const isHololens = /Windows NT/.test(ua) && /Edg/.test(ua) && !/Win64/.test(ua);
445
- return standalone && !isHololens;
445
+ return standalone && !isHololens && !isiOS();
446
446
  }
447
447
 
448
448
  export function isMobileDevice() {