在使用Xcode 11编译的tvOS 13应用程序中使用tvOS 12 UITabBarController默认UI

Dan*_*orm 5 xcode uitabbarcontroller tvos xcode11 tvos13

tvOS 13为引入了全新的默认UI UITabBarController

是否可以在使用UITabBarControllerXcode 11编译的tvOS 13应用程序中使用默认的UI,即先前版本的tvOS 9-12中的默认UI ?

tvOS 9-12 UITabBarController(所需的UI): 在此处输入图片说明

tvOS 13 UITabBarController在此处输入图片说明

小智 0

如果您正在讨论新 UI 的“始终位于顶部”行为,那么您可以使用以下方法更改此行为:

var tabBarObservedScrollView: UIScrollView? { get set }
Run Code Online (Sandbox Code Playgroud)