我正在使用Core Plot 1.1和iOS7。在IB中,已将图形托管视图的User Interaction Enabled设置为YES

当运行应用程序并点击图表上的某个位置时,我在控制台中收到以下警告:

<Error>: CGContextConvertPointToDeviceSpace: invalid context 0x0.
This is a serious error. This application, or a library it uses,
is using an invalid context  and is thereby contributing to an
overall degradation of system stability and reliability.
This notice is a courtesy: please fix this problem.
It will become a fatal error in an upcoming update.


即使在调用barWasSelectedAtRecordIndex之前,我也会收到此警告。

我没有更改iOS 7的代码,该代码在以前的版本中效果很好。

这是Core Plot中的错误吗?我该如何解决这个问题?

谢谢!

最佳答案

更新到更高版本的Core Plot。 1.1版已有近一年的历史了。 1.4版本是最近发布的,此问题可能在较新的版本中得以解决。

10-06 13:26
查看更多