地图中的 UIPageViewController 折角链接

发布于 2025-01-02 11:18:49 字数 299 浏览 3 评论 0原文

我想知道,当使用带有 UIPageViewController 的页面时,如何添加折角,就像在 iPad 地图应用程序中一样。我需要澄清一下,可以翻多页。

这是地图应用程序的屏幕截图,其中手指指向折角:http://www.patentlyapple.com/.a/6a0120a5580826970c0120a81c19f7970b-800wi

I am wondering, when using a page with UIPageViewController, on how to add a dog-ear, just like in the iPad Maps Application. I need it to clarify, that there are multiple pages that can be turned.

Here is a screenshot of the Maps Application, with a finger pointing to the dog-ear: http://www.patentlyapple.com/.a/6a0120a5580826970c0120a81c19f7970b-800wi

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

枕花眠 2025-01-09 11:18:49

内置地图应用程序可能使用涉及 CoreImage 过滤器的私有 API 来执行页面卷曲。这就是 iBooks 应用程序的工作方式(或者在 UIPageViewController 发明之前工作)。

有一些开源尝试来实现类似的卷页效果。你可以检查一下。这是一个: http://api.mutado.com/mobile/paperstack/

The built-in Maps application probably uses a private API involving a CoreImage filter to do the page curl. This is how the iBooks app works (or worked before UIPageViewController was invented).

There are some open-source attempts to implement a similar page-curl effect. You might check them out. Here's one: http://api.mutado.com/mobile/paperstack/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文