added portrait ios hack hook