UIToolbar中工具栏项之间的分隔符 [英] Separator between toolbar items in UIToolbar

查看:246
本文介绍了UIToolbar中工具栏项之间的分隔符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在UIToolbar中的按钮之间添加分隔符?

How to add a separator between buttons in a UIToolbar?

示例图像显示在以下链接中

Sample image is shown in the below link

推荐答案

我可以想到两种方式:

(a)你可以让他们非常瘦的工具栏按钮禁用用户交互。

(a) You could make them very thin toolbar buttons with user interaction disabled.

(b)您的另一个选择是实现自己的工具栏。我先尝试(a);)

(b) Your other choice would be to implement your own toolbar. I'd try (a) first ;)

这篇关于UIToolbar中工具栏项之间的分隔符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆