title: Is this the right way to add a view?
body: <p>I make a program that shows a table.</p>
  
  <p>If people click the search I will add another view covering the original view. The original view is [BNUtilitiesQuick listnewcontroller];</p>
  
  <pre><code>[[BNUtilitiesQuick window] addSubview:[BNUtilitiesQuick searchController].view];
  </code></pre>
  
  <p><code>[[BNUtilitiesQuick searchController] viewWillAppear:YES]</code> is indeed called. So it seems that UIView has a pointer to it's controller</p>
  
  <p>However, the view that the <code>[[BNUtilitiesQuick listnewcontroller] viewWillDisappear]</code> is not called</p>
  
  <p>Moreover, <code>[[BNUtilitiesQuick listnewcontroller] viewWillAppear]</code> is also not called even when the user has finished modifying search term with this code:</p>
  
  <pre><code>[self.view removeFromSuperview];
  </code></pre>
  
  <p>I think I may be missing something here. What exactly should I do anyway so IOs knows that the searchController.view will be covering listNewController?</p>