ios - 核心剧情: "Invalid context" error when tapping in chart

标签 ios objective-c ios7 core-plot cgcontext

我正在使用 Core Plot 1.1 和 iOS 7。在 IB 中,我已将图形托管 View 的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 版,这个问题很可能在较新的版本中得到了修复。

关于ios - 核心剧情: "Invalid context" error when tapping in chart,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19397210/

相关文章:

ios - 使用 TableView 中组的第一个字母自定义索引部分

iphone - 带有 PDF 的 UIWebview(错误的颜色)

objective-c - 椰子足 : pod setup failed with fatal error

ios - 按键中对象的属性对字典进行排序/过滤

ios - 如何使用 Swift 4 将字典对象插入 Firebase 数据库

ios - 如何有效地实现多个内容略有不同的自定义 UITableViewCell?

iphone - Core Location 无法在 ios 模拟器上运行

ios - iOS 中带有托管对象的 Thread 中的错误访问错误

objective-c - 如何更改 leftBarbuttonItem 标题?

objective-c - 外部 Nib 中的 TableView 单元格。 Storyboard