.live() issue in ios-navigation tutorial
还没有人认领这个 Issue。
- 主要语言
- HTML
- 星标
- 8
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
描述
This gives an error Enum case 'live' has no associated values and indeed the documentation https://docs.mapbox.com/ios/navigation/api/3.12.0/navigation/documentation/mapboxnavigationcore/locationsource specifies the value as .live and the tutorial shows it as .live https://docs.mapbox.com/help/tutorials/ios-navigation/?step=4
However even changing this to .live is problematic, doing so on the original code here the map loads but seems to be stuck with the rest of the navigation UI. It seems to be sporadic though, simply restarting the app the UI loads fine...
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从第 11 行的 ios-navigation/ios-navigation/NavigationLoader.swift 开始,使用文档中记录的 LocationSource 值重现教程步骤 4。将教程代码与链接的 Mapbox iOS Navigation API 文档进行比较,然后验证地图和其余导航 UI 是否能够稳定加载。教程能够在没有 enum 错误的情况下构建,并且导航 UI 不再间歇性卡住,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- swift
- 领域
- mobile
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100