开发者

Iphone tableview horizontal scrollbar appear

开发者 https://www.devze.com 2023-02-25 14:29 出处:网络
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 th

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

精彩评论

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

关注公众号