开发者

Dismiss iOS context menu

I have added another option to the default context menu. Copy / Send When the Send option is selected it runs a JavaScript. however the context menu remains visible. How can I disable it programmatic开发者_开发技巧ally?


Just use method of UIMenuController:

[menu setMenuVisible:NO animated:YES];

Implement it in SendMenuItemTouched method. Did you try this?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜