开发者

How do I reload a UIView?

开发者 https://www.devze.com 2023-02-11 04:42 出处:网络
How do I reload a UIView after viewDidLoad + viewWillAppear have already been called (and the view displayed)?

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开发者_StackOverflow viewWillAppear on the controller, not to reload the whole nib file.


How about [yourViewController.view setNeedsDisplay]?

0

精彩评论

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