iOS 8: Handling of portrait and hybrid portrait/landscape

I believe this fixes #3040 as well as also correctly supports Portrait-only applications.