nativescript get device orientation util:NativeScript实用程序用于在IOS和Android设备上获取设备方向
Nativescript获取设备方向实用程序 NativeScript实用程序可在IOS和Android设备上获取设备方向。 如何使用: 将此文件移到您的项目中并使用它:) import { getDeviceOrientation } from './deviceOrientationUtil'; getDeviceOrientation(); // landscape or portrait
下载地址
用户评论