I want to add method that opens up the new view controller when this info button is pressed.
UIBarButtonItem *infoItem = [[UIBarButtonItem alloc]
initWithTitle:@"Info"
style:UIBarButtonItemStyleBordered
target:nil
action:@selector(action)];
1 Answer