1. view 旋转 // 旋转45度 tagView.transform = CGAffineTransformMakeRotation(M_PI / 4.0); 2. view 子类超出父类的部分不显示 tagView.clipsToBounds = YES;