Iphone UIViewController中的核心打印图

Iphone UIViewController中的核心打印图,iphone,core-plot,Iphone,Core Plot,我试图在UIView中放置一个Coreplot图。 有些问题,我应该在XIB中执行吗?或者我应该按程序来做 如果是,我应该如何编写代码?等等 我实际上有两门课。其中一个叫做GraphView,用来保存Coreplot图。 另一个称为CorePlotViewController 谢谢你的帅哥。嗯,我想我一定是个真正的新手,甚至可以问这种问题:/ 但我想我解决了 CorePlotViewController *aCorePlotViewController = [[CorePlotViewContr

我试图在UIView中放置一个Coreplot图。 有些问题,我应该在XIB中执行吗?或者我应该按程序来做

如果是,我应该如何编写代码?等等

我实际上有两门课。其中一个叫做GraphView,用来保存Coreplot图。 另一个称为CorePlotViewController


谢谢你的帅哥。

嗯,我想我一定是个真正的新手,甚至可以问这种问题:/ 但我想我解决了

CorePlotViewController *aCorePlotViewController = [[CorePlotViewController alloc] initWithNibName:@"CorePlotViewController" bundle:nil];
[self.view addSubview :aCorePlotViewController.view];