Post not yet marked as solved
Post marked as unsolved with 3 replies, 2,255 views
PresentationButton init has been altered for Xcode 11 Beta 2 to use a ViewBuilder - https://developer.apple.com/documentation/swiftui/presentationbutton/3326830-init?changes=latest_betaExamples listed in SwiftUI Tutorials Need UpdatingFrom: Working with UI Controls TutorialHome.swift - Beta 1 code.navigationBarItems(trailing: PresentationButton( Image(systemName: "person.crop.circle") .imageScale(.large) .accessibility(label: Text("User Profile")) .padding(), destination: ProfileHost() ))Home.swift - Beta 2 code.navigationBarItems(trailing: PresentationButton( destination: ProfileHost(), label: { Image(systemName: "person.crop.circle") .imageScale(.large) .accessibility(label: Text("User Profile")) .padding() } ))