views:

77

answers:

1

hi...

I want to refresh the uiview which has uiimageview and uilabel as a subview of uiview. I don't know how to do this.Plz help me out to do.

Thank u... Renya

+4  A: 

For custom views, just send your view the message to refresh itself.

[yourView setNeedsDisplay];

or

[yourView setNeedsDisplayInRect:aRect];

The standard views generally refresh automatically whenever you change their contents, i.e. change the text of a label or the image of an imageview.

Eiko