如何使用Mapbox实现逐向导航

时间:2017-11-13 14:12:15

标签: ios swift navigation mapbox turn-by-turn

我已经使用cocoapods安装了Mapbox。框架也附在我的项目上。但是,在我的viewController中,我无法导入MapboxDirections和MapboxNavigation。我只能导入Mapbox。为什么会这样?

podfile内容为:

# Uncomment the next line to define a global platform for your project
platform :ios, '11.1'

target 'TurnbyTurnMapBox' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for TurnbyTurnMapBox
pod 'MapboxNavigation', '~> 0.9'

end

0 个答案:

没有答案