flutter_cached_pdfview icon indicating copy to clipboard operation
flutter_cached_pdfview copied to clipboard

How to Disable long TAP for disable copy text in IOS

Open suxma opened this issue 5 years ago • 3 comments

I'm using an iPhone 11, and I want to protect the text in side the PDF so that it can't be copied and shared.

how do turn off long tap so it can't copy text inside the pdf file when view in screen.?

suxma avatar Oct 14 '20 06:10 suxma

hi @suxma try to set gestureRecognizers

binSaed avatar Oct 14 '20 15:10 binSaed

I was try to : gestureRecognizers: false

but error like this :

The argument type 'bool' can't be assigned to the parameter type 'Set<Factory<OneSequenceGestureRecognizer>>'.

Can you send example how to use gestureRecognizers to disabled copy text inside pdf file?

suxma avatar Oct 14 '20 16:10 suxma

This will help https://www.youtube.com/watch?v=gAUVz0U7eyA

myselfuser1 avatar Mar 17 '23 12:03 myselfuser1