iPad navigation is a bit different from iPhone, I can fix this problem by changing the NavigationView to NavigationStack
import SwiftUI
struct ContentView: View {
let l = ["a", "b", "c"]
var body: some View {
NavigationStack {
List {
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: