iphone - uitabbarController view not resizing -
i having navcontroller in next loading tabbarcontrollor. using addsubview add tabbarcontrollor. part of tabbar hidden 1 please tell me whats wrong this.
use tabbar controller rootviewcontroller, , set in app delegate.
[_window addsubview:rootviewcontroller.view];
when app gets loaded, tab bar controller comes first, , default - first tab! should go view controller of first tab, , in
viewdidload
of file, usemodalviewcontroller
useloginviewcontroller
.loginviewcontroller *lvc = [[loginviewcontroller alloc]initwithnibname:@"loginviewcontroller" bundle:[nsbundle mainbundle]]; [self presentmodalviewcontroller:lvc animated:no]; [lvc release];
if stage, login view controller pop right after launch app. if login successful, can dismiss it
[self dismissmodalviewcontrolleranimated:yes];
if dismiss it, show rootcontroller, tabbarcontroller, , approach used programmers login , stuff.
Comments
Post a Comment