I'm having some trouble changing the height of a simple textview. It doesn't need to size automatically to the content or anything, I just need to change the height when an iad banner loads and when it's hidden.
all I can find on it, is autoresizing UITextFields.
Hopefully someone can help me out with this simple issue.
The textView was just created in storyboard, but here's the code I currently have related to it:
@IBOutlet var textViewOutlet: UITextView!
var textView: String = ""
//after view loads
textViewOutlet.text = textView
here's what I tried adding in the viewDidLoad:
textViewOutlet = UITextView(frame: CGRect(x: 0.0, y: 0.0, width: 200.0, height: 40.0))
Which unfortunately doesn't change the size of the textView at all.
The current height of the textView in the storyboard and the app is: 283
*In another viewController I'm also editing the text in the textView using:
detail.textView = "New text here"
which works fine, don't think that has anything to do with the size of the textview but that's everything I have regarding this particular textView