【发布时间】:2013-10-16 20:29:32
【问题描述】:
使用 iOS 7 编译 Core Plot 1.4 时,我收到以下警告:
plotPoint:forPlotAreViewPoint: is deprecated
和
plotAreViewPointForPlotPoint: is deprecated
如何替换这些方法以避免出现警告?
【问题讨论】:
使用 iOS 7 编译 Core Plot 1.4 时,我收到以下警告:
plotPoint:forPlotAreViewPoint: is deprecated
和
plotAreViewPointForPlotPoint: is deprecated
如何替换这些方法以避免出现警告?
【问题讨论】:
plotPoint:forPlotAreaViewPoint 方法将在 2.0 版本中移除。使用这个
-plotPoint:numberOfCoordinates:forPlotAreaViewPoint:
类似地,方法 plotAreaViewPointForPlotPoint 使用低于一个
-plotAreaViewPointForPlotPoint:numberOfCoordinates
您也可以参考 coreplot 文档 http://code.google.com/p/core-plot/downloads/list
【讨论】: