uimenucontroller
Updating UIMenuController on the fly
My application has the ability to pop up a menu. When the \"Select All\" button is pressed, I want to enable the \"Delete\" button. However I haven\'t been able to get this working.[详细]
2023-02-02 04:50 分类:问答Can I subclass UIMenuController so that it can take icons instead of just text?
How would one go 开发者_JAVA百科about doing this?I\'m looking for a dense, purely graphical menu on tap-hold.In 3.2 you can add menu items using the menuItems property. But I think subclassing won\'t[详细]
2023-01-29 19:23 分类:问答uimenucontroller in uiwebview with custom menu items without MORE menu
In my iPad app, there is a UIWebview that displays text content. When I tap hold and select a text, a menu should popup with 2 custom menu.[详细]
2023-01-28 02:07 分类:问答UIMenuController how to show selection
how can i implement the UIMenuController with a selection shown below? I have a UIScrollview with a PDF loaded in it in a UIView (CGPDF...). I get the MenuController working without a selection but du[详细]
2023-01-28 00:26 分类:问答Why is the sender of an UIMenuItem action always nil?
I\'ve added an UIMenuItem instance to UIMenuController. When I tap in a text field twice, then I get that text editing menu with Copy, Cut, Paste, Lookup in Wikipedia.[详细]
2023-01-27 01:06 分类:问答Trouble Displaying UIMenuController When Cell Tapped In UITableView
I\'m trying to display a custom UIMenuController when a User long presses on a cell in a grouped UITableView. However, I can\'t seem to get the UIMenuController to display after successfully detecting[详细]
2023-01-26 19:12 分类:问答Where to add custom menu items to UIMenuController?
I created a subclass of UITextView and now I want to extend the default 开发者_运维百科UIMenuController by adding some buttons. Performing the extension is no problem at all, I just need to add some U[详细]
2023-01-23 15:03 分类:问答Adding a dynamic custom UIMenuItem to Copy & Paste Menu before it shows
I have successfully been able to add a custom UIMenuItem to the Copy & Paste menu in my iPhone app, and even subclassed UITextView to get rid of the standard menu items.However, what I need to do[详细]
2023-01-19 12:44 分类:问答UIMenuController Custom Items
I have created a UIMenuController and have set it a custom menu item like so: UIMenuController *menuController = [UIMenuController sharedMenuController];[详细]
2023-01-12 07:40 分类:问答Dynamic UIMenuItems with @selector and dynamic methods
I am trying to use UIMenuController for a dynamical menu (titles and actions come from a server). The problem is that I have to use UIMenuItems initWithTitle:action: where action is a @selector.[详细]
2023-01-07 12:55 分类:问答