Closed BeingCode closed 4 years ago
@BeingCode hey!) You can take a look at UITabBarItem variable titlePositionAdjustment
. But it will adjust both icon and title position (Apple do the same)
If you want to change space you can use this constants. Hope it will help 🤞🏻
public static let defaultTitleVerticalOffset: CGFloat = 10
public static let defaultIconVerticalOffset: CGFloat = -5
@igork-ramotion The middle picture is large. I want to move the raised display upward without blocking the text below
@BeingCode Currently library doesn't support that functionality, but if you want you can add it by yourself
The starting point may be the function func layoutContainers()
there all layout items calculation happen
@igork-ramotion I adjusted the position of the icon, but the raised part of the item in the middle couldn't respond, thank you
@igork-ramotion
@BeingCode you need to handle interaction on that item separately (maybe by using custom button or by gesture recogniser). Library doesn't support this functionality