If you've created custom button and on touch event navigation is not done then you should put this code in your app delegate file.
AppDelegate.m
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
// Override point for customization after application launch.
if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone) {
self.viewController = [[CoRoViewController alloc] initWithNibName:@"CoRoViewController" bundle:nil];
} else {
self.viewController = [[CoRoViewController alloc] initWithNibName:@"CoRoViewController" bundle:nil];
}
UINavigationController *contrl = [[UINavigationControlleralloc]initWithRootViewController:self.viewController];
self.window.rootViewController = contrl;
[self.window makeKeyAndVisible];
return YES;
}