圆角矩形内的 UIButtonTypeInfoLight?

发布于 2024-09-29 11:32:53 字数 202 浏览 0 评论 0原文

我知道,我知道,这是一个简单的审美问题,但我想在导航栏中插入一个信息按钮,而不是作为默认信息 UIButton (UIButtonTypeInfoLight),而是在一个圆角矩形内,以便它以统一的方式出现在另一个UIBarButtonItem 按钮。 难道就没有办法了吗? 使用带有图像(圆圈内的“i”)的自定义 UIButton 是唯一的方法吗?你知道这个斜体“i”的字体是什么吗? 谢谢

I know, I know, it's a venial aesthetic question, but I want to insert an info button in my navigation bar not as the default info UIButton (UIButtonTypeInfoLight), but inside a rounded rect so that it appears in a uniform manner to the other UIBarButtonItem buttons.
Is it possible that there is no way?
Using custom UIButton with an image (of "i" inside a circle) is the only way? Do you know what the font is for this italic "i"?
Thanks

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

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

发布评论

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

评论(2

皇甫轩 2024-10-06 11:32:53

最后我用图像制作了一个自定义 UIButton:
http://cl.ly/1u2X3Z082A1l25341u2B
http://cl.ly/163U0x0N0n222x132e3q (2x)

使用的字体:Adobe Garamond Pro

In the end I made a custom UIButton with an image:
http://cl.ly/1u2X3Z082A1l25341u2B
http://cl.ly/163U0x0N0n222x132e3q (2x)

Font used: Adobe Garamond Pro

dawn曙光 2024-10-06 11:32:53

我不确定,但信息“i”的字体看起来像 Arno Pro,斜体。可能是粗体:

http://new.myfonts.com/fonts/adobe /arno/bold-italic-caption/

I don't know for sure, but the font for the info "i" looks like Arno Pro, italic. Probably bold:

http://new.myfonts.com/fonts/adobe/arno/bold-italic-caption/

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