Problems showing UIMenuController one after another

前端 未结 4 885
鱼传尺愫
鱼传尺愫 2021-02-08 10:50

I\'m using the new customization abilities of the UIMenuController to add things other than \"Copy\" to the menu for cut&paste into a webview.

What I do is getting t

4条回答
  •  情歌与酒
    2021-02-08 11:13

    we have the same problem actually when i tried to develop an application in iPad. But what i did is i disabled the popup menu items in

    • (BOOL)canPerformAction:(SEL)action withSender:(id)sender

    Using

    if ( [UIMenuController sharedMenuController] ) { [UIMenuController sharedMenuController].menuVisible = NO; } return NO;

    Then i used a UIPopoverController.

    Regards, ZaldzBugz

提交回复
热议问题