Search and highlight text in PDF rendered in UIView

前端 未结 1 1929
深忆病人
深忆病人 2021-02-10 14:32

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:00

    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)
提交回复
热议问题