What I am trying to do is click a button (that was created in code) and have it call up a different view controller then have it run a function in the new view controller.>
You can add #define uAppDelegate (AppDelegate *)[[UIApplication sharedApplication] delegate] in your project's Prefix.pch file and then call any method of your AppDelegate in any UIViewController with the below code.