I am developing a PDF viewer app, it uses PDFKit
as a library. I create a view contain a PDFView, and load the custom view in a UIViewController
subclass.
Now I am foused on accessibility voice over, what I can get from PDFView
class in PDFKit
is currentPage
or visiablePages
, but I find that other iOS apps can read the paragrah or line where I tapped in the page, it looks more detailed. So I can let the speaker to read the whole visiable page contents or current page content. I wonder anyone know how can I get the line or paragraph content/frame information about user the position user clicks?
PS I guess maybe it has something to do with accessibilityTraits