I wrote it that way the first time, and it resulting in a crash. I guess for viewWillAppear to work, the view has to already have a super view.