gpt4 book ai didi

ios - UINavigationController 和 UITabBarController 子类化?

转载 作者:行者123 更新时间:2023-11-29 10:58:29 25 4
gpt4 key购买 nike

在我的应用程序中,我使用 UINavigation Controller 和 UITabBarController 的子类来覆盖一些方向功能。

App Store 使用子类是否安全,或者我的应用会被拒绝吗?

最佳答案

您可以将它们子类化。通常你不会,但如果你愿意,你可以,而且不会有任何问题。

事实上,在 iOS 6 中引入了一种新的自动旋转逻辑,Apple 在他们的 documentation for UINavigationController 中说正是这个。它也被提及为 UITabBarController .

This class is generally used as-is but may be subclassed in iOS 6 and later

关于ios - UINavigationController 和 UITabBarController 子类化?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17157501/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com