1. There are two VCs in storyBoard, each with navigation.
2. AVC jump method to BVC, button connection method
- (IBAction)clickBtnToBvc:(id)sender { BViewController *vc = [[BViewController alloc]init]; [self.navigationController pushViewController:vc animated:YES]; }
3.BVC black screen, what is the reason?
Your B is created in the storyboard and bound to the control, so it needs to be loaded from the storyboard
Try setting a background color for the view of BViewController
Delete the navigation of b