push a view controller from a UIView ios
问题 I have a navigation based application.On click of a button on the navigation bar in the first screen , I am able to push another view controller as follows : -(void) buttonClicked:(id)sender { UIViewController* mv = [[SecondViewController alloc] init]; [[self navigationController] pushViewController:mv animated:YES]; } Now i have a UIView(separate .h and .m files) as part of the first screen. On click of a button in the UIView, i want to push the SecondViewController. I have tried the