0
实例我知道这是不明智的显示在另一个UIViewController
一个UIViewController
但我不知道该怎么做。我有一个3D视图控制器(ThreeDViewController
),显示一个3D对象,并允许用户旋转并放大俯仰。我希望能够对ThreeDViewController
做一个小视图,该视图仍然允许我的SideBySideViewController
进行交互。CGRectMake为一个UIViewController
self.ViewInstance = [[ThreeDViewController alloc]init];
[self.view addSubview:self.ViewInstance.view];
这是我到目前为止,但只进口UIViewController
所以它占据了整个屏幕,和我想的是一组大小框。而initWithFrame
不起作用。
谢谢!