[SOLVED] Tabbar and navigationBar failure!
Hi,
I will turn grey haired if I'm not getting this right soon!
See if I can explain this. I don't think it's hard to code but, I'm not getting it right.
I have a mainWindows.xib where I have a tabbar. The third tabitem is a navigationController and loads (via IB) a view from anthoner .xib (event.xib). The view and a navigationbar is showing fine. I have connected this view to a EventViewController (inherits UIViewController) in IB to a IBOutlet in the code.
The .xib that is loaded in the navigationController shows a table with some entries and I get respons if I tap one if them. I can load a third view from a third .xib (eventDetail.xib). But this view doesn't show a navigationbar or anything. I load the eventDetail.view with [eventController presentModalViewController: eventDetailController].
I have seen something like [[self navigationController] ...]*to show a new view inside the navigationController, but the eventViewController-class has no reference to navigationController. The mainWindows class (the xAppDeligatate) has but I can't reach it from the EventView-class...
I'm making any sense here? Do you understand my problem? Got any tutorial that solve my problem (i've been looking around :-( )
Thanks!
Last edited by Fisherking; 09-20-2010 at 02:50 PM.
|