I was following along to Introduction to SwiftUI and noticed that the toolbar modifier produced a toolbar visible at the top of the navigation view.
When I tried doing this using the same code, the toolbar is appearing at the bottom. The buttons are also presented in the opposite order as the video.
I was wondering why this is the case?
When I tried doing this using the same code, the toolbar is appearing at the bottom. The buttons are also presented in the opposite order as the video.
Code Block swift .toolbar { #if os(iOS) EditButton() #endif Button("Add", action: makeSandwich) }
I was wondering why this is the case?