# Navegação SwiftUI (iOS) > NavigationView, NavigationStack, sheets, alerts, toolbars, navegação programática - 18 perguntas de entrevista - Mid-Level - [Perguntas de entrevista: iOS](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista.md) ## 1. Qual é a principal diferença entre NavigationStack e NavigationView no SwiftUI? **Resposta** NavigationStack (iOS 16+) substitui NavigationView e oferece um gerenciamento de estado mais explícito com NavigationPath. NavigationView usa uma pilha de navegação implícita, enquanto NavigationStack permite controle programático completo da navegação por meio de um estado bindable. ## 2. Para que serve o modificador navigationTitle no SwiftUI? **Resposta** O modificador navigationTitle define o título exibido na barra de navegação quando uma view aparece. Ele aceita um parâmetro displayMode para controlar o estilo de exibição do título (inline, large). É um elemento essencial da interface de navegação. ## 3. Qual é o método correto para criar navegação até um destino com NavigationLink? **Resposta** NavigationLink aceita um label (view exibida) e um destino (view alvo). No SwiftUI moderno, prefira o inicializador com value e o modificador navigationDestination para um melhor gerenciamento de estado. NavigationLink exibe um indicador chevron por padrão no iOS. ## Mais 15 perguntas disponiveis - Qual é o papel do modificador toolbar no SwiftUI? - Qual é a sintaxe correta para criar um NavigationStack com estado? Cadastre-se gratis: https://sharpskill.dev/pt/login ## Outros temas de entrevista iOS - [Fundamentos de Swift](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/swift-basics.md): 25 perguntas, Junior - [Fundamentos da linguagem Swift](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/swift-language-essentials.md): 15 perguntas, Junior - [Fundamentos do UIKit](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/uikit-fundamentals.md): 18 perguntas, Junior - [Ciclo de vida do UIViewController](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/uiviewcontroller-lifecycle.md): 20 perguntas, Junior - [UserDefaults & Keychain](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/userdefaults-keychain.md): 20 perguntas, Junior - [Ciclo de vida do aplicativo](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/app-lifecycle.md): 20 perguntas, Junior - [Auto Layout & Constraints](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/auto-layout-constraints.md): 24 perguntas, Mid-Level - [UITableView & UICollectionView](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/uitableview-uicollectionview.md): 25 perguntas, Mid-Level - [Fundamentos de SwiftUI](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/swiftui-basics.md): 18 perguntas, Mid-Level - [Gerenciamento de estado no SwiftUI](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/swiftui-state-management.md): 22 perguntas, Mid-Level - [Networking & URLSession](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/networking-urlsession.md): 20 perguntas, Mid-Level - [Codable e parsing JSON](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/codable-json-parsing.md): 20 perguntas, Mid-Level - [Core Data](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/core-data.md): 22 perguntas, Mid-Level - [Programação orientada a protocolos](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/protocol-oriented-programming.md): 20 perguntas, Mid-Level - [Arquitetura MVVM](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/mvvm-architecture.md): 20 perguntas, Mid-Level - [Notificações Push](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/push-notifications.md): 18 perguntas, Mid-Level - [Testes unitários & XCTest](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/unit-testing-xctest.md): 20 perguntas, Mid-Level - [Testes de interface de usuário](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/ui-testing.md): 18 perguntas, Mid-Level - [Xcode e sistema de build](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/xcode-build-system.md): 16 perguntas, Mid-Level - [Swift Package Manager](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/swift-package-manager.md): 16 perguntas, Mid-Level - [Memory Management & ARC](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/memory-management-arc.md): 22 perguntas, Senior - [Combine Framework](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/combine-framework.md): 24 perguntas, Senior - [Concurrency & async/await](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/concurrency-async-await.md): 26 perguntas, Senior - [iOS Design Patterns](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/ios-design-patterns.md): 24 perguntas, Senior - [Otimização de desempenho](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/performance-optimization.md): 22 perguntas, Senior - [Segurança e criptografia](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/security-encryption.md): 20 perguntas, Senior - [SwiftUI Advanced](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/swiftui-advanced.md): 22 perguntas, Senior - [Arquitetura de aplicativos iOS](https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/ios-app-architecture.md): 22 perguntas, Senior --- Source: SharpSkill (https://sharpskill.dev), tech interview preparation for your real stack. HTML version of this page: https://sharpskill.dev/pt/technologies/ios/perguntas-entrevista/swiftui-navigation