Post

Replies

Boosts

Views

Activity

Reply to SwiftUI NavigationLink freezing when tapped
I had a similar if not same issue (nav link causing bad_exc crash). I did not verify cpu usage, but i suspect it was 100% since the app always froze for a couple seconds before the crash. Anyway for me it turned out to be a weirdly uncaught syntax error in the destination view code. I had a .font modifier on a textfield and the "." was missing, so it was just "}font(..." and for some reason it still built (but crashed when running). When I added the dot the problem was fixed.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’25