I have a problem opening and closing of a ModalView: when the user touches the button to open the view, or when it touches the button to close it, appears this message in Console:
The view controller returned NO from _shouldAutorotateToInterfaceOrientation: for all interface orientations. It should support at least one orientation.
The ModalView is associated with a UITableViewController, contained in a UINavigationController in turn inserted into a UITabBarController. I can not understand how to solve this problem.