|Jan 31, 2011, 10:26 PM||#1|
Split view UIBarButtonItem button is jumping rightward
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
Thanks for any help.
|Feb 1, 2011, 07:26 PM||#3|
I've discovered that the reason for my troubles is that I was trying to cache the detail views, whereas Apple's sample code wanted to reload the xib's every time they were to be displayed.
Last edited by pinsrw; Feb 2, 2011 at 08:55 PM.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Calendar split/agenda view back on 7.1?||chestvrg||iOS 7||18||Mar 21, 2014 07:46 PM|
|New to XCode - Question [How do you go from one view to the next via a button]||eebean2||iPhone/iPad Programming||4||Aug 23, 2013 09:29 AM|
|Split View App||RagingGoat||iPhone/iPad Programming||6||Jun 6, 2013 09:59 PM|
|How to dismiss popover view on button click in iPad||Narendar Singh||iPhone/iPad Programming||3||Feb 7, 2013 11:59 PM|
|Animating split view divider position||Starfox||Mac Programming||0||Dec 18, 2012 10:12 PM|
All times are GMT -5. The time now is 04:06 PM.