iPhone SDK 3.x – UIWebView issue: copy:selector

Inside the -(BOOL)canPerformAction:(SEL)action withSender:(id)sender method

when holding the mouse pointer in the simulator on a word of a webpage loaded on a uiwebview this method is called properly, but the copy: selector isn’t analyzed and not even called (but the text is normaly copied) , I’ve opened a ticket o Apple Bug Report.

This bug don’t allow to fully disable the contextual menu on uiwebview, and the only solution is to disable all using javascript on the  loaded page.

3 thoughts on “iPhone SDK 3.x – UIWebView issue: copy:selector

  1. dave says:

    Did you ever get a response on this? I am running into the same issue with iOS 3.2 on the iPad with a UIWebView. Can you share the javascript code you used to get around this?

    graci, arigato.

    • Sorry no FIX from Apple yet, the answer was fast but they only said:

      “This bug has been closed as Duplicate. We are aware of and tracking this issue under the Bug ID listed above in the bug State (Duplicate/XXXX).”

      So they know but probably it is in a low priority queue.

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *