定义视图时我们经常用initWithFrame方法
scrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, navH, ScreenWidth, ScreenHeight - navH)];
CGRectMake的前两个参数表示的是该视图的左上角的点相对于父视图的位置,在将这个视图加入到一个视图中时,会根据这点进行绘制。
定义视图时我们经常用initWithFrame方法
scrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, navH, ScreenWidth, ScreenHeight - navH)];