junhyungkwon.log
로그인
junhyungkwon.log
로그인
[RN]React-native에서 Andriod 자동회전 기능
junhyung kwon
·
2023년 5월 4일
팔로우
0
RN
React
android
react native
reactnative
0
React native를 개발 하던 중 자동 회전 이슈
내가 해결해본 방법: AndroidManifest.xml -> android:configChanges -> orientation를 추가해 보았음 해결x
AndroidManifest.xml -> android:name=MainActivity에서 android:screenOrientation="portrait"(세로 고정 코드)를 넣어줬더니 세로모드로 고정이 잘 되었다.
가로모드 고정
AndroidManifest.xml -> android:name=MainActivity에서 android:screenOrientation="landscape"(가로 고정 코드)를 넣어주면 가로모드 고정이 된다.
junhyung kwon
“Everything comes to him who hustles while he waits” 항상 최고가 되기 위해 꾸준히 노력하며 성장해 나아가는 Front-End 개발자 권준형입니다.
팔로우
이전 포스트
[JSP] JSP, JSTL 기본 문법,태그
다음 포스트
React.js에서 daum 우편번호 검색 api Error
0개의 댓글
댓글 작성