开发者

UITextField and UILabel updating problem

开发者 https://www.devze.com 2023-03-24 17:26 出处:网络
I have two classes, one with textField and button and other is with label. These two classes have different views.

I have two classes, one with textField and button and other is with label. These two classes have different views. I want to fill text in textField and save it with button press. I want to show the updation on label. But it does not do it dynamically o开发者_开发百科r side by side.

Label keep on showing same values or i have to restart the iPhone simulator.

Any suggestion?Thanks in advance.


It sounds like you'll need to set up the class with the Label to be the Delegate for the Class with the TextField & Button... however if you added some code to your question it might be easier to help give you a specific answer.

0

精彩评论

暂无评论...
验证码 换一张
取 消