fix(iOS): compilation error

Modification and compilation failed.
This commit is contained in:
Li Junjie 2021-10-15 17:38:29 +08:00 committed by GitHub
parent e1fc730eed
commit c03670685b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ NSString *const CUSTOM_SELECTOR = @"_CUSTOM_SELECTOR_";
UIMenuController *menuController = [UIMenuController sharedMenuController];
NSMutableArray *menuControllerItems = [NSMutableArray arrayWithCapacity:self.menuItems.count];
for(NSString *menuItemName in self.menuItems) {
for(NSDictionary *menuItem in self.menuItems) {
NSString *menuItemLabel = [RCTConvert NSString:menuItem[@"label"]];
NSString *menuItemKey = [RCTConvert NSString:menuItem[@"key"]];
NSString *sel = [NSString stringWithFormat:@"%@%@", CUSTOM_SELECTOR, menuItemKey];