0
- (void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    CGFloat w = self.contentScrollView.bounds.size.width; 
    CGFloat contentoffSetx = self.childViewControllers.count * w;
    self.contentScrollView.contentSize = CGSizeMake(contentoffSetx, 0);
}

self.contentScrollView にいくつかの UIView があります。しかし、私は self.contentScrollView を にスクロールできません self.childViewControllers.lastObject.view

self.contentScrollView.contentSize大きくない??

4

1 に答える 1