Hi all,
I'm using the sample split-view app code from Apple that implements multiple different detail views, each stored in its own xib.
I have discovered a big problem:
When I switch between views in portrait mode, the UIBarButtonItem that brings up the popover window keeps jumping to the right.
I looked at how many items are in the toolbar items array, that in the detail view is created to insert the UIBarButtonItem into the toolbar and later remove it. That number keeps growing...
In fact, invalidateRootPopoverButtonItem:barButtonItem is not getting called.
My detail views are declared like this:
@interface DetailView2: UIViewController
<UIPopoverControllerDelegate,
UISplitViewControllerDelegate,
SubstitutableDetailViewController>
Thanks for any help.
I'm using the sample split-view app code from Apple that implements multiple different detail views, each stored in its own xib.
I have discovered a big problem:
When I switch between views in portrait mode, the UIBarButtonItem that brings up the popover window keeps jumping to the right.
I looked at how many items are in the toolbar items array, that in the detail view is created to insert the UIBarButtonItem into the toolbar and later remove it. That number keeps growing...
In fact, invalidateRootPopoverButtonItem:barButtonItem is not getting called.
My detail views are declared like this:
@interface DetailView2: UIViewController
<UIPopoverControllerDelegate,
UISplitViewControllerDelegate,
SubstitutableDetailViewController>
Thanks for any help.