Two-stage rotation animation is deprecated. This application should use the smoother single-stage animation

前端 未结 5 827
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-01 23:15

I am building a ipad application. when the applications starts i show it in landscape Right mode. But as soon as the application starts I get this message

T         


        
5条回答
  •  误落风尘
    2021-01-01 23:46

    ckeck your array declaration for tab bar ..possible mistake u done: I declared array oblects after assigning

    tabBarController.viewControllers = tabControlArry;
    [tabControlArry addObject:navCOntroller];
    [tabControlArry addObject:navController1];
    

    correct way:

    [tabControlArry addObject:navCOntroller];
    [tabControlArry addObject:navController1];
    tabBarController.viewControllers = tabControlArry;
    

提交回复
热议问题