UIContainerView 需要什么版本的 iOS?
UIContainerView requires what version of iOS?
我一直在网上和 Apple 的文档中进行挖掘,但我似乎无法确定使用 UIContainerView 需要什么 iOS 版本。我有点沮丧,因为我没有看到这些信息……
UIContainerView 不存在 class。
根据 Whosebug 中 uicontainerview
标签的 about page:
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.
参见 的答案:
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.
我一直在网上和 Apple 的文档中进行挖掘,但我似乎无法确定使用 UIContainerView 需要什么 iOS 版本。我有点沮丧,因为我没有看到这些信息……
UIContainerView 不存在 class。
根据 Whosebug 中 uicontainerview
标签的 about page:
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.
参见
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.