我试过用
self.myUITextView.text = @"hi";
更新我的 Nib 文件中的 UITextView。
但是,UITextView 的原始文本仍然显示在屏幕上。如何在我的 View Controller 中更新 UITextView?
最佳答案
提供从 xib 到 View Controller 的正确连接 (IBOutLet)。我猜你错过了 UITextView 从 Nib 到 Controller 的 IBOutLet 连接。
关于objective-c - 如何在我的 View Controller 中更新 UITextView?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10136371/