Answers for "swiftui make text selectable"

0

how to make text selectable swiftui

Text($someText)
.contextMenu(ContextMenu(menuItems: {
  Button("Copy", action: {
    UIPasteboard.general.string = someText
  })
}))
Posted by: Guest on August-18-2021

Code answers related to "Swift"

Browse Popular Code Answers by Language