Repository navigation
iOS apps: screens as designed on iOS 12, and a layout check for every device size - #180
Merged
Merged
Conversation
On iOS 12 the companion's Storage access page drew its text a few letters wide and pushed Continue off the screen: the steps and the notice were 500 points wide only by a preference that tied with the text's own wish to be narrow, and iOS 12 broke the tie the other way from iOS 18. The companion's screens are now a column of blocks exactly as wide as the column (500 points, or what the margins leave), screens taller than the window scroll, and the margin follows the window rather than the screen. The in-app installer's scroll height, its Install button beside the offline line (iPad) and its dialogs on a phone on its side get the same. companion/App/LayoutCheck.swift lays every screen of both apps out at every iPhone, iPod touch and iPad size, upright and on its side, and fails on a wrapping text whose width moves when its own preference does (what broke on iOS 12, found on any iOS), on text broken inside a word or cut off, and on anything off the screen. companion/build.sh --check-layout and ios-installer/build-simulator.sh --check-layout run it; pull requests that change either app run both. Assisted-by: LLM
…request Without a booted simulator the device lookup ended the script silently (grep found nothing under pipefail), as on the CI's Mac. ORCHARD_LAYOUT_SHOTS=DIR saves every screen at every upright size. Assisted-by: LLM
An iPad is regular both ways, a phone compact across and compact high on its side; screens that follow the size class are checked as they show. Assisted-by: LLM
The footer was pinned to the bottom of the window, over a screen taller than the window (an iPod touch, a phone on its side). It is now part of what scrolls: at the bottom where there is room, after the screen where there isn't. The layout check runs once the app has launched, as iOS ends an app whose launch takes as long as the check does on a slow Mac. Assisted-by: LLM
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On iOS 12 the app on the iPad showed its Storage access page as a column a few letters wide, with Continue pushed off the screen: the user had nothing to tap. The page's widths were only a preference that iOS 12 resolved differently from current iOS, which is why the simulator never showed it.
Check the iOS screens' layout, Intel Mac).Local: both checks pass (
companion/build.sh --check-layout,ios-installer/build-simulator.sh --check-layout); the old companion code fails the check exactly on the texts from the device photo; the device sources typecheck for iOS 12.Assisted-by: LLM