self.scrollView.frame=CGRectMake(CGRectGetMinX(self.bounds),CGRectGetMaxY(self.bounds),CGRectGetWidth(self.bounds),CGRectGetHeight(self.bounds));
[self.scrollView addSubview:self.hourView];
[self.scrollView addSubview:self.gridView];
现在在gridview中嵌入一些视图后,我得到了一些coordinates(x,y,width,height)
。现在我想用这些coordinates(x,y,width,height)
来刷新我的滚动视图的框架。更新/刷新一次创建后的UIScrollView的框架
由于scrollview已经创建一次,所以我应该怎么做来更新或刷新它的框架?
没什么只是重新设置滚动型的框架时,你会得到的框架。 – Iducool