JMS*_*JMS 3 uitabbarcontroller uitabbar ios swift3
我只想显示标签栏项目的标题而没有图像。可能吗?当我尝试设定
let tabItem = UITabBarItem()
tabItem.title = "Tab1"
tabItem.selectedImage = nil
tabItem.image = nil
tabViewController?.tabBarItem = tabItem
Run Code Online (Sandbox Code Playgroud)
我只是得到一个可点击的空白,但没有标题或图像。