Reputation: 1355
I have some code that reacts to orientation changes, and after a lot of debugging and frustration, I realized that although when testing on hardware my code works fine, when testing in simulator, although the simulator is landscape oriented, the code reads it's current orientation as portrait. Any reason for this? its frustrating.
Upvotes: 0
Views: 62
Reputation:
At the simulator you can make changes in 2 axis. at device in 3 axis.
You will get some interesting cases when you are debugging with a real device, which is highly recommended. You can get one around 100-200 USD (used).
Upvotes: 1