0

使用 iOS 7 编译 Core Plot 1.4 时,我收到以下警告:

plotPoint:forPlotAreViewPoint: is deprecated

plotAreViewPointForPlotPoint: is deprecated

如何替换这些方法以避免警告?

4

1 回答 1

0

plotPoint:forPlotAreaViewPoint 方法将在 2.0 版本中删除。用这个

 -plotPoint:numberOfCoordinates:forPlotAreaViewPoint:

同样对于方法 plotAreaViewPointForPlotPoint 使用低于一个

   -plotAreaViewPointForPlotPoint:numberOfCoordinates

您还可以参考 coreplot 文档 http://code.google.com/p/core-plot/downloads/list

于 2013-10-16T22:27:55.657 回答