【问题标题】:Core Plot: Warning that plotPoint:forPlotAreViewPoint: and plotAreViewPointForPlotPoint: are deprecated核心情节:警告 plotPoint:forPlotAreViewPoint: 和 plotAreViewPointForPlotPoint: 已弃用
【发布时间】:2013-10-16 20:29:32
【问题描述】:

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

plotPoint:forPlotAreViewPoint: is deprecated

和

plotAreViewPointForPlotPoint: is deprecated

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

【问题讨论】:

    标签: ios uikit ios7 core-plot


    【解决方案1】:

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

     -plotPoint:numberOfCoordinates:forPlotAreaViewPoint:
    

    类似地,方法 plotAreaViewPointForPlotPoint 使用低于一个

       -plotAreaViewPointForPlotPoint:numberOfCoordinates
    

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-12-06
      • 2015-03-23
      • 2019-07-09
      • 1970-01-01
      • 2014-11-17
      • 2019-11-26
      • 2020-07-03
      • 1970-01-01
      相关资源
      最近更新 更多