IOS的材料组件:MDCBottomAppBarView

时间:2018-05-06 08:21:18

标签: material-design

我已经查过但无法找到有关此信息的任何信息。

有没有办法在MDCBottomAppBarView中设置文本和图像,设置MDCBottomAppBarView的高点?

1 个答案:

答案 0 :(得分:0)

您可以通过setImage设置图像:

let appBarBottom = MDCBottomAppBarView()
appBarBottom.floatingButton.backgroundColor = UIColor.white // Change this if you have another color icon
appBarBottom.floatingButton.setImage(UIImage(named: "IMAGE NAME"), for: UIControl.State.normal)
相关问题