"我试过绘制pdf,但我不能实现它。我已经在这个任务中卡住了,你能分享任何参考或任何方法来实现这个吗? ">
- 如何绘制PDF/还突出显示任何文本。
- 在react native中绘制现有PDF。下载
- 从我们的设备选择PDF。
pdf注释有多个库选项。
- pdftron-react-native: https://github.com/PDFTron/pdftron-react-native(我使用过这个,它对我很好。检查您的要求是否可用)
- react-pdf-annotations: https://github.com/agentcooper/react-pdf-highlighter
- https://pspdfkit.com/pdf-sdk/react-native/annotations/
- react-native-pdf: https://github.com/wonday/react-native-pdf