可以重新创建 MobileSafari 的后退按钮吗?

发布于 2024-10-04 05:29:16 字数 162 浏览 0 评论 0原文

我目前正在开发 UIWebView,并且正在努力理解 Apple 如何在 MobileSafari 的 UIToolbar 中创建左右指向按钮。

当然,我们可以使用“UIBarButtonSystemItemPlay”作为右向箭头,但是如何创建向左箭头呢?

任何帮助将不胜感激!

I'm currently working on a UIWebView and am struggling to understand how Apple were able to create the left and right pointing buttons in their UIToolbar in MobileSafari.

Sure, we are able to use the "UIBarButtonSystemItemPlay" as the right pointing arrow, but how do I go about creating the left arrow?

Any help would be greatly appreciated!

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

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

发布评论

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

评论(1

何必那么矫情 2024-10-11 05:29:16

还可以使用自定义图像创建栏按钮项目。只需创建一个向左箭头的图像,并使用 -initWithImage:style:target:action: 初始化栏按钮项。

It is also possible to create bar button items with custom images. Just create an image of a left-pointing arrow and init the bar button item with -initWithImage:style:target:action:.

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