Iphone Navigation problems -
i designing app requires following structure
tab bar controller (3 tabs available, home, photos , setting)
first tab (home tab)
-contains view controller 5 buttons (news,events,offers, maps , feed)
clicking on of above button should load view has following requirement 1) 5 buttons on top (news, events, offers, maps , feed) 2) view dynamically changes based on above selection.
-clicking on news, events,offers launches uiwebview , changes loadstring via application delegate. clicking on map or feed, launches 2 different views.
what have tried far is: 1)i have tabbarcontoller has first tab set to generic view controller. 2) on load view controller calls view 5 buttons application starting correctly 3) clicking on (news, events, offers) opens view controller has uiwebview , displays proper url. there buttons on top allows them switch between 5 functionality. when user clicks on maps or feed, 2 different views loaded subviews accordingly. however, if try doing parent page, views dont appear
to add problem if click on main tabbar (home, photos or setting) tabs switching views when revert home tab, should display parent view 5 buttons.
the first view being displayed moved up. in bottom between view , tab bar there small space last viewed uiwebview can seen. not removing previous views. navigating using 1 of 5 buttons again opens view again main tab bar hidden :(
can offer help.
cheers,
i think need take tabbarcontroller view navigation controller. can navigate between views without problem. take 3 main view (home, photos, settings) navigationcontroller when tap of tab have rootviewcontroller , can navigate view tabs.
hope help.
Comments
Post a Comment