gpt4 book ai didi

ios - UIContainerView 需要什么版本的 iOS?

转载 作者:行者123 更新时间:2023-12-01 18:08:26 24 4
gpt4 key购买 nike

我一直在网上和苹果的文档中进行挖掘,但我似乎无法确定使用 UIContainerView 需要什么 iOS 版本。我有点沮丧,因为我没有掌握这些信息......

最佳答案

UIContainerView 不作为类存在。

根据about page StackOverflow 中的 uicontainerview 标记:

There is no UIContainerView class, but there is a pattern that uses a UIViewController as a container for one or more ViewControllers. This pattern is also in the Xcode object library with the name Container View.

例如,参见 this question 的答案:

There is no such class called UIContainerView. You need to create an outlet of UIView and connect that to your container view.

It is confusing because IB lablels it as UIContainerView, but it's type is really just a UIView.

关于ios - UIContainerView 需要什么版本的 iOS?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36584277/

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