-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix iPhone X elements that are too close to screen edges #484
Comments
iPhone X Simulator Test Run
Should I open new issues for any of these @apike? |
Definitely all three of those are too close to the edges, so we'll need to do a pass on this. It looks like the items too close to the bottom would be fine to bump up, but the X button could use a new look/asset that will work both on the X and on other devices, probably by insetting it from the corner, and maybe making it circular. @rachteo can you do a quick pass on that? |
For the close button, I'd suggest just moving it further down so that it's in line with where the menu would be, which is in line with what Apple seems to be doing with their own apps |
Seems reasonable to me - Is 40pt the "safe area margin" that we get from the iOS APIs? Also, spacing the icons evenly on iPhones seems reasonable, as long as it doesn't look silly on the iPhone Plus. |
I have applied the safe area constraints to all ViewControllers except CreditsViewController. CreditsViewController does not have a storyboard and setting up the constraints in Objective C is rather verbose. I looked into converting into Swift, however, I ran into a bunch of issues (including a linker error) - if @nbrooke could look into converting CreditsViewController to swift I feel it would a better use of the project hours. Once again, I have done the iPhoneX conversion on other pages, I just need CreditsViewController converted to swift or converted to use a Storyboard. |
Did the Swift conversion of CreditsViewController yesterday, it's ready to try as pull request #492 |
Whoops, I see that PR in my email inbox (sorry!). I'll check it out. |
@ssawchenko Definitely the second one :) |
I realized after I asked that it was a silly question. I perhaps need another cup of coffee ;) |
* Updated Launch, info and main controllers to constraint layouts + safe areas * Fixed tooltip positioning issue * Updated CreditsViewController to conform to safe areas * Removed HelperMethods.deviceIsRetina (was incorrect and not being used) * Add safe area insets to the size of the node info popup, so the trace route button isn’t under the home indicator on the iPhone X * Fix crash on pre iOS 11 due to missing safeAreaInsets * Centred menu loading spinners.
We should build master on Xcode for the iPhone X simulator, note what issues there are in this issue, and prep a patch.
The text was updated successfully, but these errors were encountered: