I have set up a minimum test case of a iOS7 single view storyboard application where the view controller contains a single button that opens an instance of the sidebar as follows:
If I run the application and rotate the phone everything resizes correctly. However, if I then embed the view in a navigation controller and restart the application, the embedded view no longer resizes when I rotate the screen (as shown below).
I've tried replacing [callout show] with [callout showInViewController:self animated:YES]. This solves the resizing issue but causes the sidebar to appear behind the navigation bar which isn't desirable.
I am going to continue investigating, but I thought I'd post this first in case someone else has already experienced this problem.
I have set up a minimum test case of a iOS7 single view storyboard application where the view controller contains a single button that opens an instance of the sidebar as follows:
If I run the application and rotate the phone everything resizes correctly. However, if I then embed the view in a navigation controller and restart the application, the embedded view no longer resizes when I rotate the screen (as shown below).
I've tried replacing
[callout show]
with[callout showInViewController:self animated:YES]
. This solves the resizing issue but causes the sidebar to appear behind the navigation bar which isn't desirable.I am going to continue investigating, but I thought I'd post this first in case someone else has already experienced this problem.