|Jan 31, 2011, 09: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, 06: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 07:55 PM.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Master view of split view contain tab bar and table view?||newtoiphonesdk||iPhone/iPad Programming||0||Nov 16, 2011 10:47 AM|
|Conditionally display views on button press||johnmerlino||Mac Programming||4||Nov 13, 2011 09:11 AM|
|iPhone 3GS Splitting Apart, power button difficult to press-REALLY annoying-HELP||salilsundresh||iPhone Tips, Help and Troubleshooting||3||Sep 26, 2011 09:37 PM|
|Enabling an uibarbuttonitem when at least one char is written in a uitextfield||franium||iPhone/iPad Programming||5||Feb 25, 2011 12:09 PM|
|Scroll View not working in the bottom view of Split View in Cocoa||binDev||Mac Programming||1||Apr 15, 2010 02:42 PM|
All times are GMT -5. The time now is 02:49 PM.