Closed rami-ihr closed 6 years ago
Also phone landscape now has a shorter tab bar and so the content appears squished unless there is support for text beside the label.
Ohh I think it's a problem. And I totally agree with you. Thanks~ I'll fix it after install the new Xcode.
@rami-ihr Done
@eggswift thank you! One thing though, in your logic you are checking for landscape, but I believe you should actually check for the width size class being regular. This is how Apple's UITabBar behaves. Though if the device is a phone then perhaps you have to check landscape, I'm not too sure. I suggest running the example app on both ipad and iphone and use the mixed sample and rotating the device.
@rami-ihr Yes I'll check it later
Devices with iOS 11 and scale 3x has issue with buttons.
@eggswift I created a PR to fix one small issue still https://github.com/eggswift/ESTabBarController/pull/99
When an app is running on iPad (or iPhone landscape), the new behavior for UITabBar on iOS 11 is that the text appears to the right of the icon rather than below it. See attached screenshots of ESTabBarController sample app running on iOS 11 simulator, this is with the mixed style of ESTabBar and UITabBar:
My proposal is that ESTabBarController exposes a property to specify whether you want the text below or to the right of the icons. Additionally, the default behavior should be to check what the OS version is and if it is 11 or greater than put the text to the right, otherwise put it below. What do you think @eggswift ?