I have the following problem:
I want to compare if one string contains "Schreibe etwas..."
I solved it with the following code:
selectedText = postTextView.text!
let isText = selectedText
if isText != "Schreibe etwas..." {
shareButton.isEnabled = true
abortButton.isEnabled = true
}
But its not working. How to solve this problem?
Thanks in advance for your help!