标签: swift uiscrollview
我在UIscrollView中有UI textview,因此UIscrollview同时水平和垂直滚动。有没有办法以水平方式禁用滚动并启用滚动到垂直方式?
谢谢
答案 0 :(得分:1)
If your scrollView scrolls horizontally, that's means that your textView or another subview is wider than the scrollView's frame.