如何在React Native webview中呈现多个html?
问题描述:
我正试图在React Native上实现自己的Epub阅读器。 问题是如何将多个HTML内容文件从epub容器传递给webview并使它们呈现平滑分页。如何在React Native webview中呈现多个html?
答
使用ScrollView
与pagingEnabled={true}
和多WebView
作为网页
不知道它是有用的,因为epub电子书有很多网页(> 1000页iphone) – MuffinWithJam
你可以改变'uri' – stereodenis