ESTabBarController icon indicating copy to clipboard operation
ESTabBarController copied to clipboard

How To adjust text in iPad.

Open ramesh09ios opened this issue 6 years ago • 1 comments

  1. As per below image unable to customise the position of the text.
Sc113851

ramesh09ios avatar Nov 06 '19 06:11 ramesh09ios

In your ESTabBarItemContentView subclass you can override traitCollection like so:

override var traitCollection: UITraitCollection {
    return UITraitCollection(traitsFrom: [super.traitCollection, UITraitCollection(horizontalSizeClass: .compact)])
}

This will place the text below the icon.

kevinstier avatar Mar 02 '21 11:03 kevinstier