 <pre><code>@interface ContactUs : UINavigationViewController { IBOutlet UIWindow *window; IBOutlet UITextView *textView; IBOutlet UIButton *button; } // Add properties to the all outlets // -(IBAction) buttonpressed: (id) sender; </code></pre> <p>And in the implementation - write the code for buttonpressed and you can make use that for whatever your goals are. </p>