Skip to content

Commit

Permalink
Merge pull request #796 from afestein/navigation-controller-orientation
Browse files Browse the repository at this point in the history
Fix iOS10 crashing when image picker is called
  • Loading branch information
jamonholmgren committed Sep 11, 2016
2 parents f1b8f9e + 0534cff commit 6aed897
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ProMotion/cocoatouch/navigation_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def shouldAutorotate
end

def supportedInterfaceOrientations
return UIInterfaceOrientationMaskAll unless visibleViewController
visibleViewController.supportedInterfaceOrientations
end

Expand Down

0 comments on commit 6aed897

Please sign in to comment.