开发者

problem with scrollview

I am having view this comes from push view contr开发者_运维技巧oller through navigation.this view has scroll view,when i run the project view is not scrolling.how do i make it scroll.


You need to set content size for that view.

scrollView.contentSize = CGSizeMake(scrollView.frame.size.width,TOTAL_HEIGHT_TO_DISPLAY_CONTENT);

Hope this helps.

Jim.


Did you set the content size of the scroll view? Set it to the size of what the scroll view contains.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜