diff --git a/ios/Classes/Api/MOPAppletDelegate.m b/ios/Classes/Api/MOPAppletDelegate.m index bf29fab..5c37051 100644 --- a/ios/Classes/Api/MOPAppletDelegate.m +++ b/ios/Classes/Api/MOPAppletDelegate.m @@ -84,12 +84,15 @@ __block NSArray *list; FlutterMethodChannel *channel = [[MopPlugin instance] methodChannel]; [channel invokeMethod:@"extensionApi:getCustomMenus" arguments:@{@"appId": appletInfo.appId} result:^(id _Nullable result) { - CFRunLoopStop(CFRunLoopGetMain()); +// CFRunLoopStop(CFRunLoopGetMain()); if ([result isKindOfClass:[NSArray class]]) { list = result; + + NSLog(@"customMenusInApplet2222:list=%@",list); + } }]; - CFRunLoopRun(); +// CFRunLoopRun(); // NSArray *> *list = @[item1, item2, item3,item4];