IOS中传值方法

   UINavigationController *menuController = (UINavigationController*)((AppDelegate*)[[UIApplication sharedApplication] delegate]).menuController;
    FeedController *controller = [[FeedController alloc] init];
    [menuController pushViewController:controller animated:YES];


这个menuController就是传的数值

你可能感兴趣的:(ios)