[英]UITabbar stretched in iOS 10 but not 11+
So I've been developing my app on iOS 11 and 12 for the past few weeks, but after testing on the iOS 10.3.3 iphone 7 simulator (and real iphone 7's), I just realized that the tab bar icons look really stretched for some reason. 所以我过去几周一直在iOS 11和12上开发我的应用程序,但在iOS 10.3.3 iphone 7模拟器(以及真正的iphone 7)上进行测试后,我才意识到标签栏图标看起来非常紧张某些原因。
They look fine on all phones iOS 11+ 它们在所有iOS 11+手机上看起来都很好
I followed the guidelines here: https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/custom-icons/ 我遵循了这里的指南: https : //developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/custom-icons/
My image sizes are 我的图片尺寸是
@3x: 75x75 @2x: 50x50 @1x: 25x25 @ 3x:75x75 @ 2x:50x50 @ 1x:25x25
I've played around in storyboard and have no idea how to fix this. 我在故事板上玩过,不知道如何解决这个问题。 Any thoughts?
有什么想法吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.