Search code examples
iphoneuiwindow

self.view not properly aligned on window


So what I am really doing is... I have a login page, when proper login session took place, Its navigating to another view. It contains Tab bar. So what I did is, I made a separate class for customizing 'UITabbarController'. And now I see a white screen on the top and below is the view of that class.

Can anybody help me out?


Solution

  • Are you subclassing UITTabBarController? It is not something you would normally want to do.

    A better option is to create your second viewcontroller and add a normal UITabBarController onto that viewcontroller's view.