How can i goto appdelegate class
<p>I am developing one application. In that I set the notification in viewcontroller1. And close the application. </p>

<p>After getting the notification I am directly going to viewcontroller1 xib not main xib. I written code like that. But my problem is after coming to viewcontroller1 xib,that contain the cancel button. When I click on cancel button I need to go to appdelegate class. But its not going. That cancel button is working when I come from appdelegate class. But its not working when I come directly to this class. </p>

<p>That cancel method contain <code>[self.view dismissviewcontroller];</code>, so please tell me how can I go to appdelegate class when I click on cancel button.</p>
