Post

Replies

Boosts

Views

Activity

Reply to NavigationStack Back Button obscured in MacOS
The code was compiled and run on MacOS 15.6.1 The two files are Swift, I had to append a "txt" to the file name to get them uploaded. NOTE: The example uses NavigationLink for a destination view that takes two (2) arguments. If you have no arguments or one (1) argument, the first time you use the link will not usually exhibit the behavior. You usually need use the back button and navigate again to trigger the behavior. However, with two (2) arguments, the overlay behavior is usually observed on the first try. ContentView.swift.txt BackButtonOverlayApp.swift.txt
Topic: UI Frameworks SubTopic: SwiftUI
Nov ’25
Reply to NavigationStack Back Button obscured in MacOS
The code was compiled and run on MacOS 15.6.1 The two files are Swift, I had to append a "txt" to the file name to get them uploaded. NOTE: The example uses NavigationLink for a destination view that takes two (2) arguments. If you have no arguments or one (1) argument, the first time you use the link will not usually exhibit the behavior. You usually need use the back button and navigate again to trigger the behavior. However, with two (2) arguments, the overlay behavior is usually observed on the first try. ContentView.swift.txt BackButtonOverlayApp.swift.txt
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Nov ’25
Reply to How to call API of tested app in UI Testing of Xcode7?
I had a UI test case that needed to use a function that was defined in my application. Since there was only a single function, I just added the UITest target as a target for the file that contained the definition. If I had more than one function, I would have created a file with all of the functions that a UI Test might need.
Replies
Boosts
Views
Activity
3w