title: How to pop self view controller when I click the cancel button at the search bar?
body: <p>I have created the search view controller to add the articles searched to the main view controller.
  I wanna make it to pop itself from navigation view controller by clicking the cancel button of search bar. I have tried like as below:</p>
  
  <pre><code>- (void) searchBarCancelButtonClicked:(UISearchBar*) searchBar {
    [self.navigationController popViewControllerAnimated:NO];
  }
  </code></pre>
  
  <p>I need a help from everybody.</p>