私のアプリケーションには、rootViewController として設定されたカスタム UITabBarController があります。アプリケーションの存続期間中、ユーザーの操作に基づいてプログラムで追加のタブを追加/削除します。その際、コンソールに次のメッセージが何度も表示されます。
Two-stage rotation animation is deprecated. This application should use the smoother single-stage animation.
これを防ぐ方法はありますか?
編集
追加のタブを追加する方法の簡単な例を次に示します (例には 1 つしかありませんが、実際には 4 つ追加されています)。
UIViewController *viewController = [[MyCustomViewController alloc] init];
viewController.tabBarItem.image = [UIImage imageNamed:@"icon"];
viewController.tabBarItem.title = @"Title";
UINavigationController *navViewController = [[UINavigationController alloc] initWithRootViewController:viewController];
[self setViewControllers:@[ navViewController ] animated:NO];