test
parent
4999057d25
commit
08a5a23fde
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in New Issue