clipsToBounds:是類View的屬性普监,如果設(shè)置為yes殿雪,則不顯示超出父View的部分masksToBounds:是類CALayer的屬性,如果設(shè)置為yes诈豌,則不顯示超出父View layer的部分