2009-11-09

Method to erase the text from set of labels/textboxes at one glance in an iPhone application.

-(void)resetLabels{

Label1.text = @””;

Labe2.text = @””;

………………………….

}

If you want to erase the text from set of textboxes, do the same thing replaces the labels with text boxes. ;) Then call the method where appropriate. :)

No comments: