【发布时间】:2011-08-05 10:13:00
【问题描述】:
我已修改http://www.switchonthecode.com/tutorials/using-core-plot-in-an-iphone-application 处的代码以在 xcode4 上运行,我将一个视图放入我的 ConsoleViewControllor.xib 中,其类为 CPTGraphHostingView。
编译得很好,但是在运行时,我得到了一个 SIGABRT hostingView.hostedGraph = 图;有错误
* 由于未捕获的异常“NSInvalidArgumentException”而终止应用程序,原因:“-[UIView setHostedGraph:]:无法识别的选择器已发送到实例 0x5910d40” * 首次抛出时调用堆栈:
还有其他人遇到过这个问题吗?我非常愿意为您提供代码并回答更多问题。提前致谢!
【问题讨论】: