解决办法如下:
- (BOOL)canPerformAction:(SEL)action withSender:(id)sender {
dispatch_async(dispatch_get_main_queue(), ^{
[[UIMenuController sharedMenuController] setMenuVisible:NO animated:NO];
});
return NO;
}
解决办法如下:
- (BOOL)canPerformAction:(SEL)action withSender:(id)sender {
dispatch_async(dispatch_get_main_queue(), ^{
[[UIMenuController sharedMenuController] setMenuVisible:NO animated:NO];
});
return NO;
}