iPhone 시뮬레이터를 사용하여 조경보기를 어떻게 테스트 할 수 있습니까?
-
19-08-2019 - |
문제
시뮬레이터를 사용하여 조경보기를 테스트 할 수 있는지 궁금합니다.
해결책
Under the Hardware Menu you will find the rotation items which correspond to CMD+Left and CMD+Right
다른 팁
In the Hardware menu, there is an option to change the orientation. Also, Cmd-Left and Cmd-Right will rotate the virtual phone.
- Setting simulator orientation in IDE
The above (hardware->device) is a solution for rotating the simulator only once the simulator is launched ,but there should be also an option in your IDE to define the orientation of the simulator.
If you are using JDeveloper IDE the go to
Application --> Deploy --> New Deployment Profile --> select Profile Type(iOS) --> iOS Options --> Device Orientations. IDE Device orientations. There you can mention which orientation you need by default, either landscape or portrait.
- Short cut key for switching Orientations
Press command key and press left arrow / right arrow. This would switch between the landscape and portrait views you require.
I hope this might help your query.