title: Switch between views in iOS
body: <p>I try to create an app with different views. There are two views with one view controller each. The first view is loaded via the <code>rootViewController</code> in the AppDelegate class. Now I want to load the other view as an result of clicking on a button.</p>
  
  <p>I tried to create an instance of the second view controller in my first controller and use the <code>pushViewController</code> method but it didn't worked. The project was build but nothing happend after clicking the button.</p>