Skip to content

Fixed broken properties around the toolbar in iOS 26 - #650

Merged
TimOliver merged 3 commits into
mainfrom
split/4-ios26-toolbar
Jul 28, 2026
Merged

Fixed broken properties around the toolbar in iOS 26#650
TimOliver merged 3 commits into
mainfrom
split/4-ios26-toolbar

Conversation

@TimOliver

Copy link
Copy Markdown
Owner

No description provided.

UIViewLayoutRegion is now compiled out below the iOS 26 SDK, matching
the #ifdef discipline used in TOCropToolbar, so the library builds in
Xcode 16 again. The private corner-radius KVC read falls back to a
sensible constant instead of raising if the key ever disappears.
- Setting showOnlyIcons to false on iOS 26 hid the icon buttons without any
  text ones to replace them, leaving no way to commit or cancel the crop. The
  property is now ignored wherever the text buttons don't exist, and the
  documentation says so on the toolbar and the controller
- Hiding every action button left an empty glass capsule stranded at the frame
  it had when the last one was visible
- The private display-corner-radius lookup runs once via dispatch_once and logs
  when it falls back, rather than being re-read on every layout pass
Base automatically changed from split/3-object-lifetime to main July 28, 2026 14:58
@TimOliver
TimOliver merged commit 23ef6a0 into main Jul 28, 2026
1 check passed
@TimOliver
TimOliver deleted the split/4-ios26-toolbar branch July 28, 2026 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant