仅通过水平滚动将.epub内容加载到UIWebview [英] Load .epub content to UIWebview with only Horizontal scrolling

查看:87
本文介绍了仅通过水平滚动将.epub内容加载到UIWebview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前,我正在努力在UIWebview中显示Epub内容. 我从此链接下载了一个适用于Epub的示例应用程序,该应用程序可以满足我的所有要求除了一件事情,需要的是,需要水平滚动Webview而不是垂直滚动.任何人都可以帮助我做到这一点.

Currently I'm working on to display Epub content in UIWebview. From this link I have downloaded one sample app for Epub which fulfills all my needs except one thing that is, need to scroll the webview horizontally instead of vertical scroll. Anyone please help me out to do this.

推荐答案

这意味着您需要对html内容进行分页..这是通过某些Java脚本函数完成的..已经有上载的开源文件可以做到这一点..只需在Google上搜索它即可:).

that mean you need to make a pagination for the html content .. this done by some java script functions .. there is already uploaded open source files to do this .. just google it :).

这篇关于仅通过水平滚动将.epub内容加载到UIWebview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆