Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 viewDidLoad + viewWillAppear 已经被调用(并显示视图)之后重新加载 UIView?
如果它有帮助 - 我从 xib/nib 文件加载它,并期望调用该方法应该只触发控制器上的 viewWillAppear,而不是重新加载整个nib 文件。
怎么样[yourViewController.view setNeedsDisplay]?
[yourViewController.view setNeedsDisplay]