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. enter image description here enter image description here

  1. use tabbar controller rootviewcontroller, , set in app delegate.

    [_window addsubview:rootviewcontroller.view]; 
  2. when app gets loaded, tab bar controller comes first, , default - first tab! should go view controller of first tab, , in viewdidload of file, use modalviewcontroller use loginviewcontroller.

    loginviewcontroller *lvc = [[loginviewcontroller alloc]initwithnibname:@"loginviewcontroller" bundle:[nsbundle mainbundle]];  [self presentmodalviewcontroller:lvc animated:no];  [lvc release]; 
  3. if stage, login view controller pop right after launch app. if login successful, can dismiss it

    [self dismissmodalviewcontrolleranimated:yes]; 
  4. if dismiss it, show rootcontroller, tabbarcontroller, , approach used programmers login , stuff.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -