我正在使用 UIScrollView 在 3 个不同的 UIView 之间水平滚动(我称它们为页面,因为我有 scrollView.pagingEnabled=YES;
)。每个页面也可以垂直滚动。我的问题是,即使我使用scrollView.directionalLockEnabled=YES;
它仍然会双向滚动。我怎样才能阻止这种情况发生。(I want a similar behavior with the one that the Calendar app has, when Day mode is selected; I have already checked some calendar apps, but they don't have the horizontal scrolling enabled).
谢谢!