title: Button getting EXC_BAD_ACCESS?
body: <p>im trying to create a simple app that allows you to switch views. I can go to the next view but when i click the back button i get a EXC_BAD_ACCESS error on this line in the main.m:</p>
  
  <pre><code>return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
  </code></pre>
  
  <p>This is the code im using to go back:</p>
  
  <pre><code>-(IBAction)back:(id)sender{
  [self.view removeFromSuperview];
  </code></pre>
  
  <p>}</p>
  
  <p>i cant figure out what the problem would be so any help is appreciated! thank you.</p>