我scroll(width 320, height 420)
在“界面生成器”中创建了一个。
在课堂上:
-(void)viewWillAppear:(BOOL)animated {
[scroll setContentSize:CGSizeMake(scroll.frame.size.width, 1000)];
}
但滚动视图不滚动?
查看打印屏幕
http://imageshack.us/photo/my-images/832/scrollo.png
http://imageshack.us/photo/my-images/203/capturadetela20121103s2.png
http://img802.imageshack.us/img802/889/capturadetela20121103s2.png