UIApplication.statusBarOrientation is deprecated. Plus, the existing code compares "interface orientation" with UIDeviceOrientation which may be problematic.
UIApplication.statusBarFrame is also deprecated. I don't imagine we'd care about "status bar" height nowadays. So I have changed the implementation to always return a 0 value.
[x] I have considered if this change warrants release notes and have added them to the appropriate section in the CHANGELOG.md if necessary.
Fixes https://github.com/Automattic/Automattic-Tracks-iOS/issues/273.
UIApplication.statusBarOrientation
is deprecated. Plus, the existing code compares "interface orientation" withUIDeviceOrientation
which may be problematic.UIApplication.statusBarFrame
is also deprecated. I don't imagine we'd care about "status bar" height nowadays. So I have changed the implementation to always return a0
value.CHANGELOG.md
if necessary.