I have a detailviewcontroller, Dance, with a scrollview. I have set the size of the detailViewController and implemented the scrollview with,
- (void)viewDidAppear:(BOOL)animated
{
self.title = self.full_name;
[super viewDidAppear:animated];
pagescroll.ScrollEnabled = YES;
[pagescroll setContentOffset:CGPointMake(0,0) animated:NO];
pagescroll.contentSize = CGSizeMake(320, 1300);
}
The detailviewcontroller has 'subpages' (more details about the object) to which it is connected. It handles the connections to the pages with prepareforsegue. I can pass information to the subpages without any problem.
Upon re-entering the detailviewcontroller from one of the subpages, the scrollview will not scroll all the way to the top, i.e. the detailviewcontroller page is truncated. The page is also truncated differently depending on how far down I had scrolled before I clicked a button to go to one of the subpages.
Help me eliminate the scourge of truncation.