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
.
精彩评论