clipsToBounds:是類(lèi)View的屬性,如果設(shè)置為yes,則不顯示超出父View的部分masksToBounds:是類(lèi)CALayer的屬性,如果設(shè)置為yes,則不顯示超出父View layer的部分