Quote:
Originally Posted by aQu
Hello everybody...
i have been working with an idea for a while, and the only thing between finishing my app and now, is the fact that i have no idea how can i make a toolbar in a navigation in a tabBar applicacion...
i have found that the WWDC 09 iphone app has something similar:
(i was scrolling up just to show how the bar with the weekday is not actually on the table, unlike the search bar).
i can make a navigation in a tabBar application... but i cant add the second bar (the one with the arrows and the weekday).
any help would be great, thx in advance.
|
sounds stupid now that i figured out.... but still someone might have the same problem... so the solution is to make a new toolbar and add it as a subView to the navigationController. my mistake was that i was adding it to the tableView
Code:
UIToolbar *toolbar = [[UIToolbar alloc] init];
[toolbar sizeToFit];
[toolbar setFrame:CGRectMake( 0, 63, 320, 40)];
[self.navigationController.view addSubview:toolbar];
good luck everybody (: