0
基本上我有对setViewController没有任何影响:animiated:?
ViewControllerA *aVC = [[ViewControllerA alloc] init];
ViewControllerB *bVC = [[ViewControllerB alloc] init];
UITabBarController *tabBarVC = [[UITabBarController alloc] init];
[tabBarVC setViewControllers:[[NSArray alloc] initWithObjects:aVC, bVC, nil] animated:YES];
现在我可以看到在tabBarController两个选项卡,但是当我从一个选项卡切换到另一个,也看不出有任何影响,既不在模拟器或真实的设备。从文档中我应该可以看到淡化的权利?我错过了什么吗?
衰落的是什么? –
不应该有任何褪色。从一个标签切换到另一个标签默认没有动画。 – JustAnotherCoder