I'm working on an iPad app that is using the SplitView Template provided by Xcode.
On the DetailViewController when a user selects an item from a table, I'm using PresentModalViewController to display another view, and then on that view I have a back button which calls dismissModalViewController to go back to the DetailView.
This works fine in Landscape View, and technically "works" in Portrait View as well, but in Portrait Mode, the button for the PopOver in the upper left corner of the toolbar in DetailView will move itself to the right a few pixels at a time, every single time I call and then dismiss the view, eventually walking itself all the way across the toolbar.
Has anybody seen this or have any thoughts on how to fix this. It seems extremely odd.
Thanks in advance.
****EDIT****
Turns out in Landscape View things don't work as well as I thought. If i start in Portrait View, present and then dismiss the ModalView, when I rotate to Landscape View the PopOver Button is still on the toolbar in the DetailView, and if I click it, the side tableview (RootView) disappears and leaves a black hole.
On the DetailViewController when a user selects an item from a table, I'm using PresentModalViewController to display another view, and then on that view I have a back button which calls dismissModalViewController to go back to the DetailView.
This works fine in Landscape View, and technically "works" in Portrait View as well, but in Portrait Mode, the button for the PopOver in the upper left corner of the toolbar in DetailView will move itself to the right a few pixels at a time, every single time I call and then dismiss the view, eventually walking itself all the way across the toolbar.
Has anybody seen this or have any thoughts on how to fix this. It seems extremely odd.
Thanks in advance.
****EDIT****
Turns out in Landscape View things don't work as well as I thought. If i start in Portrait View, present and then dismiss the ModalView, when I rotate to Landscape View the PopOver Button is still on the toolbar in the DetailView, and if I click it, the side tableview (RootView) disappears and leaves a black hole.