Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
出于某种原因,我的 iOS 应用程序右侧弹出面板和内容正在水平滚动有什么想法为什么会发生这种情况吗?
谢谢 !
如果它是 UIScrollView 然后使用这个
self.rightSideScrollView.alwaysBouncesHorizontal=NO;
然后确保
self.rightSideScrollView.contentSize.width
不大于 self.rightSideScrollView 的边界。