I have an ViewController that has a title, an image and long text. I want it to be scrolled as a whole not the only text.
I am calculating the size according to its text. It is calculated correct but, I tried with that code.
newsDetailTextView.heightAnchor.constraint(equalToConstant:newsDetailString.height(containerWidth: newsDetailTextView.frame.size.width)).isActive = true
Its size does not change.
What might be the wrong?
Could you please indicate me the way?
BR,
Erdem