Do I programmatically add SubViews in ViewDidAppear, ViewDidLoad, ViewWillAppear, the constructor?
问题 I'm trying to figure out from Apple's sketchy documentation which method is the best place to be initializing and adding my Views controls to the controller's view. With winforms it's fairly straightforward, as they're always initialized inside InitializeDesigner , called in the constructor. I'm trying to match the reliability of this pattern if possible. I'm working with UIViewControllers and UITableViewControllers inside a UINavigationController most of the time - if this effects it all.