Files
NetNewsWire/iOS
Dave Marquard 4a035abd92 Drop the empty navigation bar over articles when the bars move to a side
The article puts an empty view in the navigation bar's title so a tap on
the bar can enter full screen. With the iOS 27.1 vertical bar (the iPhone
Duo's outer screen, and the inner one in landscape) the bar buttons move
to a side edge, and that title view is all that's left in the top bar. It
keeps an empty bar across the top of the article.

Leave the title view out while verticalBarEdge is set, and update it when
the trait changes. Tapping the bar to enter full screen isn't available
in that layout, which only matters with the full-screen setting on.

The new API is behind #if compiler(>=6.4.2), the Swift in Xcode 27.2, so
Xcodes whose SDKs don't have it still build.

Verified in the iOS 27.2 iPhone Duo simulator: the outer screen in both
orientations and the inner one in landscape. Inner portrait keeps its
horizontal bar and the tap zone.

Fixes #5530.

Written with help from Claude Code.
2026-11-03 14:02:00 -08:00
..
2026-10-20 20:45:16 -07:00
2026-10-23 12:11:33 -07:00
2026-10-22 20:55:50 -07:00