Post

Replies

Boosts

Views

Activity

Comment on How disable animation in NavigationBar
Hi, i solved it, before navigation animation i hide navigation. SearchBar().onTapGesture { if #available(iOS 17.0, *) { withAnimation(.default) { hideNavigationBar = true viewModel.start() }}} .onDisappear { if #available(iOS 17.0, *) { hideNavigationBar = false } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’23