-
Notifications
You must be signed in to change notification settings - Fork 288
Side Menu button is incorrect dimensions. #135
base: master
Are you sure you want to change the base?
Conversation
Building the project against iOS11 we have spotted that the UIBarButton is not in the correct location on the left navigation bar looking at the apple documentation it recommends that the standard non retina size of the button should be 22px x 22px.
@aaronwardle, perhaps we can extend this PR with some checks? For iOS 10 and lower, it should keep the old size and from iOS 11 and further it should have the new one. Tested this morning and for iOS 10 it has been moved a bit too much to the left with these changes. For iOS 11 it seems fine with your changes. I will add screenshots at noon (Belgium time) to give some view examples :) |
Cheers Steven I will take a look at this, thanks for the help btw |
Okay a bit later than promised. But here you can see the difference between iOS 10 and iOS 11 and it is also noticeable that for iOS 10 the size should remain the same. Not for the size itself, but the padding to the left of it :) With this piece of code it seems to be lay-outed correctly:
|
@diolce, are you sure it is not related to something else? I tried this code and also with my suggested code for iOS 10 and everything is fine on my side. |
this is my declaration of the menu in didFinishLaunchingWithOptions in AppDelegate |
What worked for me was to add this to the button |
Building the project against iOS11 we have spotted that the UIBarButton is not in the correct location on the left navigation bar looking at the apple documentation it recommends that the standard non retina size of the button should be 22px x 22px.