对齐图标TabBar [英] Align icons TabBar

查看:157
本文介绍了对齐图标TabBar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题,

我正在为我的iPad应用做反向,但我希望我的tabbar完全是这样的:

I'm doing the reverse for my iPad app, but I want my tabbar is exactly like this:

我会把音量控制,播放和暂停在标签栏图标的左侧和右侧....

I'll put the volume controls, play and pause on the left and right side of the tabbar icons ....

如何更改它们的位置?

推荐答案

对于所有元素的分配,你应该看看这个问题:
调整UIToolBar项目

For alligning the elements, you should take a look at this question: Aligning UIToolBar items

我不确定如何将自定义控件添加到 UIToolbar ,但我希望你可以通过设置框架来实现这一点重叠 UIToolbar

I'm not sure how to add custom controls to a UIToolbar, but I'd expect you could do this by setting their frame to overlap the UIToolbar.

这篇关于对齐图标TabBar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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