需要修改UIView的一个属性:
@property(nonatomic) BOOL clipsToBounds;
// When YES, content and subviews are clipped to the bounds of the view. Default is NO.
需要修改UIView的一个属性:
@property(nonatomic) BOOL clipsToBounds;
// When YES, content and subviews are clipped to the bounds of the view. Default is NO.
本文标题:iOS UIView隐藏超出superview的部分
本文链接:https://www.haomeiwen.com/subject/ixaudftx.html
网友评论