![](/img/trans.png)
[英]How to add a toolbar to the bottom of a UITableViewController in Storyboards?
[英]How to add UISlider into a bottom Toolbar?
有什么方法可以将UISlider添加到工具栏中,我还需要添加其他一些对象。 我正在使用tableview创建一个基于选项卡的应用程序。 而且我不想隐藏标签栏。
请检查数字。
创建具有框架大小( customUIView
或customUIToolBar
使用addSubView
属性在其中添加两个UIButtons
(框架尺寸正确)。
[self.customToolBar addSubView:button];
将问题中显示的绿色事物图像添加为subView
。
添加一个UISlider作为子视图。
[self.view addSubView: customUIToolBar];
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.