smtlaissezfaire
smtlaissezfaire

Reputation: 436

How do I reload a UIView?

How do I reload a UIView after viewDidLoad + viewWillAppear have already been called (and the view displayed)?

If it helps - I'm loading it from a xib/nib file, and expect that calling the method should only trigger viewWillAppear on the controller, not to reload the whole nib file.

Upvotes: 7

Views: 18877

Answers (1)

Nava Carmon
Nava Carmon

Reputation: 4533

How about [yourViewController.view setNeedsDisplay]?

Upvotes: 11

Related Questions