79135453

Date: 2024-10-29 00:14:36
Score: 2
Natty:
Report link

In iOS 18.1, textSelection(_:) works in List!

struct ContentView: View {
    var body: some View {
        List {
            Text("Hello World")
                .textSelection(.enabled)
        }
    }
}

image

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: donchan