How can I put a placeholder into a TextEditor view?

Hello everyone
Does someone know how I can put a placeholder into a TextEditor?
I cannot found how to make that.
Thanks!

https://developer.apple.com/documentation/swiftui/texteditor

look here:

I have seen it before, thanks.

I am searching for a more simple implementation. It seems that this feature (placeholder on the TextEditor) is not available on SwiftUI yet. Maybe in the next release.

Thanks, archti!

Great! You're welcome!

Placeholder: Yes, that is definitive (unfortunately).

Terms of Service

Privacy Policy

Cookie Policy