Get highlighted text in textfield or texteditor in SwiftUI

Viewed 1057

I am working on the Note app using SwiftUI. I want to highlight the selected text in TextField or in the TextEditor and get the highlighted text.

I searched a lot but don't find any solution. If anyone help, I am very thankful to him

0 Answers
Related