iOS view圆角设置同时又不影响子视图超出父视图部分显示

2025-05-10 03:29:44
推荐回答(1个)
回答1:

视图之间有个属性:

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