diff --git a/CHANGES.rst b/CHANGES.rst index 44cccfb10..073e49d77 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -9,6 +9,7 @@ Improvements: Bugfix: * Fix pin code cell selection. + * Fix default orientation crash. API Change: * diff --git a/Riot/Categories/UINavigationController+Riot.m b/Riot/Categories/UINavigationController+Riot.m index 587a9087f..919f46798 100644 --- a/Riot/Categories/UINavigationController+Riot.m +++ b/Riot/Categories/UINavigationController+Riot.m @@ -46,7 +46,7 @@ return [self.topViewController preferredInterfaceOrientationForPresentation]; } - return UIInterfaceOrientationUnknown; + return UIInterfaceOrientationPortrait; } @end