iPhone UIWebView PDF Page Jump

前端 未结 3 1330
余生分开走
余生分开走 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:27

    Another option would be to set the content offset of the UIWebView like Mike pointed out (but without involving JavaScript):

    webView.ScrollView.SetContentOffset(new PointF(0, y), true);
    

    (sorry for the MonoTouch code but ObjectiveC is still on my todo list)

提交回复
热议问题