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.
如何显示滚动视图范围之外的内容?
我创建了一个具有特定边界的滚动视图,在 y 轴上将内容大小设置为大几倍,启用了分页,但想在上面显示一页,在下面显示一页。
您需要为您的滚动视图实例设置@property(nonatomic) BOOL clipsToBounds为。NO
@property(nonatomic) BOOL clipsToBounds
NO