I have a UITextView in my xib and in my UIViewController class, I call setText on this element. It works correctly - once.
Subsequently, it does not set the tex开发者_StackOverflow社区t and the old text remains.
I also have the same problem with UINavigationBar, where navBar.topItem.title can be set once but not again.
How do I clear the old values and get the new values to show?
Thanks DeShawn
Does 'subsequently' mean 'on the next line of code' or 'the next time a button is clicked' ? The latter is appropriate I guess, don't you set your outlet to nil somewhere ?
精彩评论