开发者

iPhone Scrollview question?

Is there a way to hide t开发者_开发技巧he scroll bar in a scroll view?


[scrollView setShowsHorizontalScrollIndicator:NO];    
[scrollView setShowsVerticalScrollIndicator:NO];

This is in the docs.


You can do this in interface builder also, by unchecking the the scrollers horizontal and vertical property.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜