需要 添加 [self addChildViewController:vc]; [_mainScrollView addSubview:vc.view]; 转载于:https://www.cnblogs.com/foolish-guo/p/6385288.html