- (void)mirrorFlip
{
CALayer *layer = self.view.layer;
CATransform3D rotationAndPerspectiveTrandForm = CATransform3DIdentity;
rotationAndPerspectiveTrandForm.m34 = 1.0 / 500;
rotationAndPerspectiveTrandForm = CATransform3DRotate(rotationAndPerspectiveTrandForm, M_PI, 1.0f, 0.0f, 0.0f);
layer.transform = rotationAndPerspectiveTrandForm;
}视图翻转——镜像效果
最新推荐文章于 2024-06-05 17:54:57 发布
735

被折叠的 条评论
为什么被折叠?



