UIScrollView phantom subviews
问题 I am loading a view from a nib file using: NSArray *nibViews = [[NSBundle mainBundle] loadNibNamed:@"AnalysisView" owner:self options:nil]; AnalysisView *gridView = [nibViews objectAtIndex: 0]; The nib contains a scrollview called gridScrollView and in the AnalysisView implementation file I have a method which adds views as subviews to the scrollview: for (NSInteger i = [results count] -1; i >= 0; i--) { Result *result = [results objectAtIndex:i]; [self loadResult: result]; } - (void)