【发布时间】:2019-04-22 02:28:21
【问题描述】:
我正在使用 placenote sdk 为我的应用程序提供存储的持久性地图,但是当我单击按钮转换到增强现实地图视图时,它只显示一个空白屏幕
@IBAction func button1(_ sender: Any) {
if (!placenoteSessionRunning)
{
placenoteSessionRunning = true
LibPlacenote.instance.loadMap(mapId: "0170582d-4425-4194-a71e-1c8b8eebe90f",
downloadProgressCb: {(completed: Bool, faulted: Bool, percentage: Float) -> Void in
if (completed) {
LibPlacenote.instance.startSession()
}
})
}
}
它应该在新视图中加载持久地图。
【问题讨论】:
标签: swift persistence augmented-reality arkit