I am using Xcode 4.5 and iOS 6.
I am building a universal application that is using storyboards. I have one view controller that has a button in the navigation bar. When the button is tapped, I am using a segue to present another view controller as a modal. The modal view controller has a Cancel and a Save button in its navigation bar. In the storyboard, the modal button items are linked to actions on the new Exit action which is supposed to unwind to the parent view controller, dismiss the modal, and call an action handler.
This works fine on the iPhone, but I am seeing problems on the iPad. On the iPad, when the modal is presented in full screen, everything works. When I change the mode to Page Sheet or Form Sheet (which is the desired behavior in my case), the action handler gets called, but the modal view controller is not being dismissed automatically.
Has anyone else seen this behavior? Is there something that you have done to fix it?
Thank you.