0

当我使用这是我的代码

GLKView *glkView = (GLKView*)[mapView valueForKey:@"render"];    
if([glkView isKindOfClass:GLKView.class]) {
    CAEAGLLayer *layer = (CAEAGLLayer *)glkView.layer;
    if([layer respondsToSelector:@selector(setPresentsWithTransaction:)]) {
        [layer setPresentsWithTransaction:NO];
    }
}

有时会出错

base::internal::BindState<base::internal::RunnableAdapter<void (Closure::Callable<void (lbs::navi::CoreNavigationType::type, dice::tbt::NaviType)>::*)(lbs::navi::CoreNavigationType::type const&, dice::tbt::NaviType cons constt&)>, void (Closure::Callable<void (lbs::navi::CoreNavigationType::type, dice::tbt::NaviType)> const*, lbs::navi::CoreNavigationType::type const&, dice::tbt::NaviType const&), void (Closure::Callable<void (lbs::navi::CoreNavigationType::type, dice::tbt::NaviType)>*, lbs::navi::CoreNavigationType::type, dice::tbt::NaviType)>::destroy(base::internal::BindStateBase const*)

和应用程序崩溃

寻求帮助,谢谢

在此处输入图像描述

4

0 回答 0