IBAction Doesn't Get Called in Subview <p>I am creating a simple app that let's the user view movies after clicking buttons. The first screen you see is the Main Menu with 2 buttons. One of them sends the user to a sub view which I coded as this in an IBAction method:</p> <pre><code>ViewConroller *nextView = [[ViewController alloc] initWithNibName:@"NextMenu" bundle nil]; [self.view addSubview:[nextView view]]; [nextView release]; </code></pre> <p>This part is fine except that the sub view shows a 20 px bar across the bottom of the previous view. I looked around and none of the solutions like <a href="http://stackoverflow.com/questions/3032773/my-view-is-displaying-y-20-dispite-its-frame-set-to-y-0-after-rotation-it-snaps">this one</a> work for me. This isn't even the main problem. On the sub view, whenever I click a button, the app explodes. The IBAction methods break before even executing a line inside the method. Here, in the goBack IBAction method, I am trying to dismiss the subview and go back to the main menu:</p> <pre><code>[self.view removeFromSuperview]; </code></pre> <p>My connections are correct in my XIB files and everything seems to be in order. The buttons just aren't executing. I'm not sure if it has to do with adding the sub view or what. I have done a lot of searching around on google and this website, but I still can't find a solution. </p> <p>Here is an example of the error I'm getting:</p> <pre><code>Terminating app due to uncaught exception 'NSInvalidArgumentException, reason: '-[__NSCFType goBack:]: unrecognized selector sent to instance 0x5640b70' </code></pre> <p>Hopefully you guys can help me out, this is really quite frustrating. I feel like I've tried everything. Thanks for your time. Let me know if I need to provide any more information. Thanks again.</p>