mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-28 08:17:16 +00:00
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.