printdotio / printio-ios-sdk

SDK that enables the printing of any photo, from any source, onto any product!
Other
20 stars 11 forks source link

Back arrow in title bar is huge on iOS 11 #535

Closed herebcs closed 6 years ago

herebcs commented 6 years ago

iOS 11 displays the back arrow in the navigation bar magnified. It really looks ugly :(

ivankovicmilos commented 6 years ago

Hello @herebcs

Can you please share screenshot and to tell us on which devices this happens?

Thanks

herebcs commented 6 years ago

Hi, it happens on any device, both real and simulator. Here is a screenshot of one of the affected screens. Please note that the search icon is also shifted, which makes the text overlap the cancel button. Unfortunately the same icon appears on many other screens as well. (I changed the colour of the icons to white, but the same issue happens with the original bundle as well).

thanks! 2017-09-20_15-16-18

herebcs commented 6 years ago

I investigated this a little bit further. It turned out that iOS 11 has different logic when displaying navigation bar icons. On iOS 10 the navigation bar icon used to be scaled to 42x25 points. On the other hand, iOS 11 displays the icon without any scaling (pixel/point conversion happens in both cases, though). As there are no @2x icons in the bundle, the max resolution that produces similarly looking icons under both OS versions is 42x25 pixels. After scaling the icon (icon_back_a.png) to this size and overwriting the original one in the bundle with that, the problem seems to be solved on both platform versions.

alex-vasenin commented 6 years ago

@ivankovicmilos same problem

perisicboro commented 6 years ago

Fixed in latest release.