UILabel not updating

后端 未结 5 1223
太阳男子
太阳男子 2021-01-02 10:38

Sorry the basic question, but this bugs me for a while now.

I create a details view from a UITable and try to dynamically set its labels, but they are not updating:

5条回答
  •  星月不相逢
    2021-01-02 11:10

    Did you @synthesize your myLabel property in myViewController.m? You should be able to do something like:

    tmpVC.myLabel.text = tmpObj.myTitle;

提交回复
热议问题