Post

Replies

Boosts

Views

Activity

Reply to SwiftUI: .textSelection(.enabled) not working in List on iOS 18
In iOS 18.1, textSelection(_:) works in List! https://stackoverflow.com/a/79135453/11073133 Thank you so much! I was working on enabling text copying in my app and spent hours wondering why .textSelection(.enabled) wasn’t working. However, thanks to your post, I realized that the issue was due to testing on the iOS 18.0 simulator. I tested it with the iOS 18.1 simulator, and it was solved beautifully. Without your post, I would have spent several more hours struggling. I sincerely appreciate it from the bottom of my heart.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’25