Files
logseq/ios/App/App/NativeNavHost.swift
2025-11-17 16:16:24 +08:00

14 lines
394 B
Swift

import SwiftUI
struct NativeNavHost: UIViewControllerRepresentable {
let navController: UINavigationController
func makeUIViewController(context: Context) -> UINavigationController {
navController
}
func updateUIViewController(_ uiViewController: UINavigationController, context: Context) {
// JS routing still drives pushes/pops; nothing to do here.
}
}