|
|
#1 |
|
UIToolbar and UINavigationController
Hello,
As far as I can see, Apple has provided no easy way to integrate a UIToolbar at the bottom of the screen. As opposed to UITabBarController which is easy to place on the bottom of the screen and have tied to view controllers, UIToolbar is a normal view just like a UIButton or UISwitch. Thus, it must be manually placed at the bottom of the screen by placing it on a UIView in the view hierarchy. This is not especially hard, but is definitely messy. And it only gets worse when coupled with a UINavigationController. I have three levels of drilling in: Categories, Items, and then Item Details. The toolbar should remain stationary when transitioning from Categories to Items, but should slide away with the Items when transitioning from Items to Item Details. I believe that Mail used to do this (hiding the toolbar on the Accounts page) prior to 2.0. I know of some third-party apps that do this (Things). But the only implementation I can come up with is some serious kludges. Does anyone here have any advice for keeping the code and nibs clean and as kludge-free as possible? Do you think that the apps out there with this functionality do anything more than simple kludges? Thanks for your time, – Tom |
|
|
|
0
|
|
|
#2 |
|
There was an earlier thread about this, but I was never able to get it working satisfactorily without attaching the toolbar to the window at the same level as the navigation controller. If you have any luck, I'd love to find out how you did it.
http://forums.macrumors.com/showthread.php?p=5622891 Bill |
|
|
|
0
|
|
|
#3 | |
|
Quote:
|
||
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| thread | Thread Starter | Forum | Replies | Last Post |
| Switch between UIViewController and UINavigationController | edcruise | iPhone/iPad Programming | 1 | Mar 6, 2011 09:41 PM |
| UINavigationController and rotation | Tiiba | iPhone/iPad Programming | 0 | Dec 3, 2010 06:06 PM |
| UIToolbar in UINavigationController not showing any items | Bruno Silva | iPhone/iPad Programming | 1 | Jun 12, 2010 08:38 PM |
| UIToolBar and setItems with animation | Sergio10 | iPhone/iPad Programming | 3 | Feb 4, 2010 10:55 AM |
| UITabBarController and UINavigationController together??? | belsokar | iPhone/iPad Programming | 5 | Jan 7, 2009 09:53 AM |
All times are GMT -5. The time now is 05:33 AM.







Linear Mode

