binSaed / flutter_cached_pdfview

Enhanced PDF view for Flutter.
https://pub.dev/packages/flutter_cached_pdfview
MIT License
121 stars 70 forks source link

How to Disable long TAP for disable copy text in IOS #23

Open suxma opened 4 years ago

suxma commented 4 years ago

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.?

binSaed commented 4 years ago

hi @suxma try to set gestureRecognizers

suxma commented 4 years ago

I was try to : gestureRecognizers: false

but error like this :

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

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

myselfuser1 commented 1 year ago

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