开发者

Iphone tableview horizontal scrollbar appear

I have tableview that scroll vertically. My question is when first this view is loaded, horizontal scrollbar开发者_如何学编程 appears at the bottom of tableview and disappears. It only happens when the view loads at the first time. I wonder why this is happening.


I'd hazard a guess that you accidentally checked the “Horizontal Scrollers” box in the table's properties in Interface Builder. To turn them back off again, either find that (under the “Scroll View” section of the inspector) and uncheck it, or just set the table view's showsHorizontalScrollIndicator property to NO in your controller's -viewDidLoad.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜