This exception is thrown if a view controller or the app returns
0 instead of a valid set of supported interface orientation values. It is also thrown if the orientation returned by a view controller’s
preferred method does not match one of the view controller’s supported orientations.
- iOS 6.0+