Revert "ios orientation fix 2"

This reverts commit 0b7eeaf713a813265a92d41d12083e2c8e640544.