UITabBarController在非appDelegate里面添加时会存在位置向下偏移
我现在是登陆页面不需要UITabBarController,登陆成功后的页面才需要UITabBarController,
网上查找了一些资料说必须在appDelegate里面添加才不会出现位置向下偏移,在非appDelegate页面里面难道就不能用吗?
如:登陆页面loginViewController,跳转的页面functionViewController,我该怎么做把UITabBarController添加到
functionViewController而使UITabBarController不会向下偏移呢,求各位达人〜〜合理的解决方案
我现在是登陆页面不需要UITabBarController,登陆成功后的页面才需要UITabBarController,
网上查找了一些资料说必须在appDelegate里面添加才不会出现位置向下偏移,在非appDelegate页面里面难道就不能用吗?
如:登陆页面loginViewController,跳转的页面functionViewController,我该怎么做把UITabBarController添加到
functionViewController而使UITabBarController不会向下偏移呢,求各位达人〜〜合理的解决方案
而不是 [self.window addSubView:loginViewController];