phiz_2.42.1.1
Sean 2023-10-18 14:52:28 +08:00
parent 4999057d25
commit 08a5a23fde
1 changed files with 5 additions and 2 deletions

View File

@ -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<NSDictionary<NSString *, NSString *> *> *list = @[item1, item2, item3,item4];