Post

Replies

Boosts

Views

Activity

Reply to How to add placeholder text to TextEditor in SwiftUI?
The only addition I would suggest on top of ZStack is to add allowHitTesting(false) modifier to the Text, so that clicking on the placeholder also sets focus onto the TextEditor
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
May ’22