Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经搜索了很多(示例一,示例二),但似乎无法得到正确的答案。我的 XYZ 视图控制器类上有一个 webview。当我按下一个按钮时,它会从一个数组中获取一个 URL 并重新加载相同的 webview。现在我需要在上面做翻书动画。应该重新加载相同的 webview。也就是说,在加载下一个 url 时,webview 应该围绕它自己的轴旋转 180/360 度。这可能吗?
我不确定你到底想做什么。
您希望视图在充电时变为动画以显示新页面(当然在同一个 web 视图中)?
看看Monocle JS 库
它是免费的,并且有一些翻页的过渡。