View.layer.masksToBounds = YES; 2016-12-28 本文已影响22人 失忆的程序员 View.layer.masksToBounds=YES;// A视图在B视图上超出B视图yes裁剪到超出部分。