Search and highlight text in PDF rendered in UIView

前端 未结 1 998
Happy的楠姐
Happy的楠姐 2021-02-10 14:24

I have used brow-leaves-67b10ed to render PDFs in UIView.

Now my necessity is to search and highlight texts.

I have managed to get the exact position of text on

1条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-10 15:01

    That was an issue with filling rect in inappropriate layer in leaves view. I tried adding those with proper layer position and that is done.

    But I recommend, not to use UIView if you want to highlight searched text.. Not atleast leaves view

    0 讨论(0)
提交回复
热议问题