文件名称:react-native-device-orientation:调度设备方向
文件大小:4KB
文件格式:ZIP
更新时间:2024-05-29 23:29:44
Objective-C
React本机设备取向 调度设备方向。 用法 像将BrewingDeviceOrientation添加到您的Xcode中 用法示例React Native 'use strict'; var React = require('react-native'); var { AppRegistry, StyleSheet, Text, View, NativeModules, NativeAppEventEmitter } = React; var orientation = React.createClass({ getInitialState() { return { orientation: 'No Orientation.' }; }, componentDidMount() { NativeModules.BrewingDeviceO
【文件预览】:
react-native-device-orientation-master
----.gitignore(532B)
----package.json(758B)
----ios()
--------BrewingDeviceOrientation.m(2KB)
--------BrewingDeviceOrientation.h(375B)
----LICENSE(1KB)
----README.md(1KB)