From 08a5a23fde5de8bd497f22572285c7b9eea92543 Mon Sep 17 00:00:00 2001 From: Sean <87529231+githubraphael@users.noreply.github.com> Date: Wed, 18 Oct 2023 14:52:28 +0800 Subject: [PATCH] test --- ios/Classes/Api/MOPAppletDelegate.m | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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];