ios - Mapbox crashes when used with SceneKit -
comment out scenekit line , code works fine. interaction scenekit , mapbox causes crash:
import uikit import mapbox import scenekit class viewcontroller: uiviewcontroller { override func viewdidload() { super.viewdidload() let mapview = mglmapview(frame: view.bounds) mapview.autoresizingmask = [.flexiblewidth, .flexibleheight] // set map’s center coordinate , zoom level. mapview.setcenter(cllocationcoordinate2d(latitude: 59.31, longitude: 18.06), zoomlevel: 9, animated: false) view.addsubview(mapview) _ = scnview() } }
this running on ios 11. me, i'm not getting actual crash log, on more complicated setup error failed make complete framebuffer object
. crashes within mapbox framework.
Comments
Post a Comment