Post

Replies

Boosts

Views

Activity

Reply to PhotosPicker doesn’t appear when declared inside Menu
Hello this is a way that it works for me but in an overlay for a RoundedRectangle. Menu {     Button("Photo Library", action:  {                  self.sheetForPL.toggle()     })     Button("Camera", action:  {         print("Camera has been choosen")     }) } label: {     Image(systemName: "plus.circle.fill")         .symbolRenderingMode(.hierarchical)         .foregroundColor(.white) } .photosPicker(isPresented: $sheetForPL, selection: $imagePicker.imageSelection)
Feb ’23
Reply to Navigation Link Issue with SwiftUI
Hello! I solved put It .buttonStyle(.plain) at the the end of the NavigationLink like `NavigationLink(destination : EmptyView()){ Text("Press here!") }.buttonStyle(.plain) `
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’23
Reply to PhotosPicker doesn’t appear when declared inside Menu
Hello this is a way that it works for me but in an overlay for a RoundedRectangle. Menu {     Button("Photo Library", action:  {                  self.sheetForPL.toggle()     })     Button("Camera", action:  {         print("Camera has been choosen")     }) } label: {     Image(systemName: "plus.circle.fill")         .symbolRenderingMode(.hierarchical)         .foregroundColor(.white) } .photosPicker(isPresented: $sheetForPL, selection: $imagePicker.imageSelection)
Replies
Boosts
Views
Activity
Feb ’23