react-native-pdf icon indicating copy to clipboard operation
react-native-pdf copied to clipboard

iOS: Problem with links in pdf not opening

Open gonca-gul opened this issue 1 year ago • 1 comments

Hello, When you click on the links in the pdf, the links do not open on the iOS side. To solve this, the

if ([recognizer isKindOfClass:[UITapGestureRecognizer class]]) { recognizer.enabled = YES; }

edit should be made in the RNPDFPdf/RNPDFPdfView.mm file in the new versions. I request that this problem be fixed in the upcoming versions. Thanks..

gonca-gul avatar Feb 10 '25 13:02 gonca-gul

Hey @gonca-gul ! You can use patch I posted here to fix the issue https://github.com/wonday/react-native-pdf/issues/841#issuecomment-2694404261

antonhudz avatar Mar 03 '25 14:03 antonhudz