Screen title - SwiftUI

In SwiftUI, we recommend embedding your views in a NavigationStack with an appropriate navigationTitle on each screen.

NavigationStack {
    VStack {
        Text("Welcome to the Appt homescreen")
    }
    .navigationTitle("Appt homescreen")
}