iPhone dev: Increase scroll speed in UIWebView?

后端 未结 5 1192
滥情空心
滥情空心 2021-02-09 04:41

I have an app in which I render local HTML files in a UIWebView. The files, however, are sometimes large, and getting to where you want takes a long time with the default scroll

5条回答
  •  时光取名叫无心
    2021-02-09 05:02

    Have considered adding # tags into your html on significant boundaries?

    You could actually use native UI to implement bookmarks or a ToC for easier navigation, or simply embed links to the appropriate targets right in your html.

    If you 'speed up scrolling' your app is at risk of rejection for being non-standard, since it may confuse users who are used to webviews scrolling with a standard 'feel'.

提交回复
热议问题