내가있는 UIView의 회전에 문제를 가지고있는 UIView에서 내가있는 UIImage 및 UI 도구 모음 이 친절하게 나에게회전 풍경과 Potrait의
0
A
답변
0
-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);
}
안내
http://goodliffe.blogspot.com/2009/12/iphone-forcing-uiview-to-reorientate.html
자세한 내용은이 사이트를 참조하십시오. 희망이 도움이 될 수 있습니다! 거꾸로 세로 및 가로 이렇게보기 컨트롤러에서 아이폰 OS 6
1
,
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return UIInterfaceOrientationIsPortrait(interfaceOrientation);
}
- (BOOL)shouldAutorotate {
return YES;
}
- (NSUInteger)supportedInterfaceOrientations {
return UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskPortraitUpsideDown | UIInterfaceOrientationLandscapeLeft;
}
이 세로에 대한 방향을 것은 떠났다.
관련 문제
- 1. 안드로이드 타블렛의 풍경과 인물 모습
- 2. 안드로이드에서 webview 풍경과 초상화를 제어하는 방법?
- 3. 스토리 보드 탭 바 컨트롤러 뷰 방향 풍경/potrait의
- 4. 이미 개발 된 앱을 양방향으로 변경하는 방법 풍경과 potrait?
- 5. 애플 리케이션 회전 비록 내가 말하지 않은
- 6. 자동 회전 : 일본어 회전
- 7. 기기 회전/회전 횟수
- 8. 인터페이스에서 버튼을 회전/회전
- 9. iPhone 회전 + EAGLView 회전 =
- 10. iPhone 회전 회전 감지?
- 11. 회전 행렬에서 Y 회전
- 12. 회전
- 13. 회전 애니메이션없이 IOS 회전 장치
- 14. 회전 된 텍스트 상자에 따라 회전 커서
- 15. 회전 후 UIView 회전 및 종횡비 유지
- 16. 자동 회전 대신 UIView를 수동으로 회전
- 17. iphone 나침반 회전 방향을 기반으로 회전
- 18. 회전 매트릭스에서 임의의 회전 축 제거
- 19. C에서 회전 넘기기를 사용하여 이미지 회전
- 20. 회전 손가락의 회전 지점 변경 변경
- 21. 회전 웹킷 문제 나침반처럼 회전 할 때
- 22. 화면 회전
- 23. 회전 Java3D
- 24. Opera에서 회전
- 25. 컨트롤 회전
- 26. UIPanGestureRecognizer로보기 회전
- 27. 회전 문제
- 28. UIViewAutoresizingNone : 회전
- 29. ViewPager의 회전
- 30. OpenGL에서 회전