Closed HariNarayanan777 closed 7 years ago
@HariNarayanan777 Currently we didn't add image support for segment tab. We will add this feature in next release and let you know.
@HariNarayanan777 ,
We have added custom view support for segment tab in the latest version. For that, you need to provide your view for controller.navigationItem.titleView
// Custom ImageView
let view = UIImageView()
view.frame.size.width = 100
view.image = UIImage(named: imageName)
view.contentMode = .scaleAspectFit
view.backgroundColor = .white
firstViewController.navigationItem.titleView = view
@subinspathilettu super its working.......
I try to set image on tab bar, but it won't come
Its come like this
I tried this code in the below function firstViewController.tabBarItem.image = UIImage(named: "1-1.png")