get isIPhoneX() {
    if (!isDef(CACHE.isIPhoneX)) {
      // Assume false in most cases.
      let isIPhoneX = false;
      if (Native.Platform === 'ios') {
        // iOS12 - iPhone11: 48 Phone12/12 pro/12 pro max: 47 other: 44
        isIPhoneX = Native.Dimensions.screen.statusBarHeight !== 20;
      }
      CACHE.isIPhoneX = isIPhoneX;
    }
    return CACHE.isIPhoneX;
  }
/**
   * Determine the device is iPhone X
   */
Determine the device is iPhone X
Determine the device is iPhone X
get isIPhoneX() {
    if (!isDef(CACHE.isIPhoneX)) {
      let isIPhoneX = false;
      if (Native.Platform === 'ios') {
        isIPhoneX = Native.Dimensions.screen.statusBarHeight !== 20;
      }
      CACHE.isIPhoneX = isIPhoneX;
    }
    return CACHE.isIPhoneX;
  }
get isIPhoneX ( ) { if ( ! isDef ( CACHE . isIPhoneX ) ) { let isIPhoneX = false ; if ( Native . Platform === 'ios' ) { isIPhoneX = Native . Dimensions . screen . statusBarHeight !== 20 ; } CACHE . isIPhoneX = isIPhoneX ; } return CACHE . isIPhoneX ; }
Determine the device is iPhone X
Determine the device is iPhone X
// Assume false in most cases. // iOS12 - iPhone11: 48 Phone12/12 pro/12 pro max: 47 other: 44