子视图超出父视图的显示范围,怎么解决

2025-12-18 02:46:26
推荐回答(1个)
回答1:

视图之间有个属性:

@property(nonatomic) BOOL clipsToBounds; // When YES, content and subviews are clipped to the bounds of the view. Default is NO.