没有合适的资源?快使用搜索试试~ 我知道了~
react-native-orientation:聆听本机中设备的方向变化,并在屏幕与屏幕之间设置首选方向
共61个文件
js:6个
json:5个
png:4个
需积分: 5 0 下载量 109 浏览量
2021-04-05
18:31:18
上传
评论
收藏 144KB ZIP 举报
温馨提示
React本机定向 侦听React Native应用程序中的设备方向更改,并以编程方式在每个屏幕上设置首选方向。 在Android和iOS上均可使用。 正在安装 npm install react-native-orientation --save 链接本机依赖项 自动连结 react-native link react-native-orientation 请注意,即使使用自动链接,您仍然需要手动配置几个文件。 请参阅下面的部分。 您还需要重新启动模拟器,程序包才能正常运行。 手动链接 的iOS 将node_modules/react-native-orientation/iOS/RCTOrientation.xcodeproj到您的xcode项目中,通常在Libraries组下 加入libRCTOrientation.a (从Products下RCTOrientation.xcod
资源推荐
资源详情
资源评论
收起资源包目录
react-native-orientation-master.zip (61个子文件)
react-native-orientation-master
.gitignore 300B
README.md 5KB
android
build.gradle 367B
src
main
AndroidManifest.xml 133B
java
com
github
yamill
orientation
OrientationModule.java 5KB
OrientationPackage.java 967B
package.json 1KB
iOS
RCTOrientation.xcodeproj
project.pbxproj 8KB
RCTOrientation
Orientation.m 7KB
Orientation.h 372B
index.js 2KB
LICENSE.md 754B
react-native-orientation.podspec 699B
demo
ios
demoTests
demoTests.m 2KB
Info.plist 765B
demo.xcodeproj
project.pbxproj 51KB
xcshareddata
xcschemes
demo-tvOS.xcscheme 5KB
demo.xcscheme 5KB
demo-tvOSTests
Info.plist 765B
demo-tvOS
Info.plist 2KB
demo
AppDelegate.h 451B
Base.lproj
LaunchScreen.xib 4KB
main.m 510B
Images.xcassets
AppIcon.appiconset
Contents.json 585B
Info.plist 2KB
AppDelegate.m 2KB
.gitignore 774B
index.android.js 122B
android
gradle
wrapper
gradle-wrapper.jar 51KB
gradle-wrapper.properties 203B
build.gradle 642B
gradlew.bat 2KB
gradlew 5KB
app
build.gradle 6KB
proguard-rules.pro 3KB
BUCK 2KB
src
main
AndroidManifest.xml 1KB
java
com
demo
MainApplication.java 1KB
MainActivity.java 696B
res
values
styles.xml 192B
strings.xml 67B
mipmap-xxhdpi
ic_launcher.png 8KB
mipmap-xhdpi
ic_launcher.png 5KB
mipmap-hdpi
ic_launcher.png 3KB
mipmap-mdpi
ic_launcher.png 2KB
keystores
debug.keystore.properties 105B
BUCK 152B
gradle.properties 887B
settings.gradle 213B
index.ios.js 122B
__tests__
index.android.js 284B
index.ios.js 280B
.gitattributes 16B
app.js 4KB
package.json 373B
.babelrc 34B
.buckconfig 114B
.flowconfig 1KB
app.json 45B
.watchmanconfig 2B
package-lock.json 104KB
共 61 条
- 1
资源评论
陶涵煦
- 粉丝: 27
- 资源: 4654
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功