[webkit-dev] Fwd: Public way to disable the UIWebView menu when browsing PDF ?

Darin Adler darin at apple.com
Tue Sep 17 07:39:36 PDT 2013


Begin forwarded message:

> From: ziqiao chen <zq.chen at apple.com>
> Subject: Re: Public way to disable the UIWebView menu when browsing PDF ?
> Date: September 16, 2013 11:23:35 PM PDT
> To: Darin Adler <darin at apple.com>
> 
> Hi Darin,
> 
> Thanks for looking at this. "-webkit-user-select: none" works for HTML, but not for PDF :-(.
> 
> I attached my test project in case you want to try. In the project I added another long press gesture recognizer to block the UIWebView built-in one. It works most of the time, but not always, especially when the content PDF is zoomed out a bit. It is even difficult to see the problem in simulator, so please try in a device if you want to.
> 
> regards,
> --Ziqiao Chen.
> 
> 
> 
> 
> On Sep 16, 2013, at 11:00 PM, Darin Adler <darin at apple.com> wrote:
> 
>> The style "-webkit-user-select: none" should work, although we didn’t test it. I presume you have a test app where you can try this out.
>> 
>> -- Darin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130917/76e6a91c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MyPDFWebViewMenuBlockTest.zip
Type: application/zip
Size: 41258 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130917/76e6a91c/attachment.zip>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130917/76e6a91c/attachment-0001.html>


More information about the webkit-dev mailing list