iphone - PresentModel View Controller Problem -
iphone - PresentModel View Controller Problem -
hi every 1 have have problem nowadays model view controller. here's scenario:
this navigation bar application have uiviewcontroller class in add together class of uiview
controller using statement [self.view addsubview:controllerclass]
;
in controllerclass have insert tab bar @ bottom , write delegates on each tab bar click i'll add together uiviewcontroller
class subview i'll create height or frame controller (0,0,320,369)
. tab bar shown through out when click on different tabs.
by clicking on first tab scannerviewcontroller add together subview. there gallery button in view. when user clicks on presentmodel view controller insert , hide navigation bar when select image gallery , create navigation bar hidden =no
, dosen't work , tab bar on bottom disappeared.
it sounds you're abusing tab bar construct. each tab on tab bar should have it's own uinavigationcontroller rather sharing 1 controller per tab.
also, in experience it's best nowadays modal view controller using appdelegate's lowest level view. i.e. view added uiwindow object when app started.
iphone ios4 iphone-sdk-3.0 presentmodalviewcontrolle
Comments
Post a Comment