DSBridge-IOS icon indicating copy to clipboard operation
DSBridge-IOS copied to clipboard

在coreLocation中回调方法中调用callHandler:arguments:completionHandler:没效果

Open yukifeng opened this issue 6 years ago • 1 comments

-(void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray<CLLocation *> *)locations 在更新定位的代理方法中调用callHandler:arguments:completionHandler:没有回调结果过来

[dwebview callHandler:@"addValue" arguments:@[@3,@4] completionHandler:^(NSNumber* value){
        dispatch_async(dispatch_get_main_queue(), ^{
            UIAlertView *v = [[UIAlertView alloc]initWithTitle:@"回调结果" message:value.stringValue delegate:self cancelButtonTitle:@"cancle" otherButtonTitles:nil, nil];
            [v show];
        });
    }];

请问如何解决

yukifeng avatar Jul 26 '19 08:07 yukifeng

作者老哥在吗

yukifeng avatar Aug 09 '19 02:08 yukifeng