iPhone UIWebView PDF Page Jump

前端 未结 3 1333
余生分开走
余生分开走 2020-12-11 10:36

I want to view a local PDF (in my iPhone app) and be able to jump to a specific page. Seems like the UIWebView is the way to go, however, I can\'t find any information on j

3条回答
  •  北荒
    北荒 (楼主)
    2020-12-11 11:22

    You can try using Javascript. See this link for more details. You'll want to use something along the lines of @"window.scrollTo(0, x);", where x is some value you determined by playing around with the WebView.

提交回复
热议问题