Open kunalprsd22 opened 3 years ago
I have set you title view function but it is raising the issue & auto increasing the width of segment on every scroll.
func getSegmentTabWithImage(_ imageName: String) -> UIView {
let view = UIImageView() view.frame.size.width = 100 view.image = UIImage(named: imageName) view.contentMode = .scaleAspectFit view.backgroundColor = .white return view }
Looks like a bug, I am also facing the same issue.
is this soluted?
I have set you title view function but it is raising the issue & auto increasing the width of segment on every scroll.
func getSegmentTabWithImage(_ imageName: String) -> UIView {