Skip to content

Possible replacement of UIKit Splitview controller #1259

@BPerlakiH

Description

@BPerlakiH

As discovered in PR #1258, our current UIKit-based SplitViewController is incompatible with Apple’s newer SwiftUI navigation architecture.

When attempting to programmatically select a detail screen, we encounter a duplicated navigation bar—a known issue when combining UIHostingController with NavigationStack, as discussed on Stack Overflow. While there are workarounds to mitigate this, they introduce complexity and don't fully resolve the architectural mismatch.

Given this, it may be time to reassess our reliance on UIKit for split view navigation. Ideally, we should migrate to a SwiftUI-only solution using NavigationSplitView, which offers better integration, cleaner navigation logic, and improved compatibility with modern APIs.

⚠️ Note: Most iPad views are currently tied to the existing UIKit implementation, so this transition will require thorough testing across screen sizes and platforms.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions