Hello in my project I need to update the labels according to the events. Assume that I should display the following text to the server then the label - 1. Connecting to the server. 2. Response received from server etc.
Can you help me?
Your question may be more complete.
If you are working on the program, then you need to call setText:
with the new message of your message every time UILBL. Something like this:
// Use a small frame in behavior UILabel * label = [[UILabel alloc] initWithFrame: [window border]]; [Label setText: @ "Waiting for server to do something interesting ..."]; [Add window subeview: label]; // later .... [label setText: @ "The server just sneezed! What do I do?"];
Comments
Post a Comment