//獲取復(fù)制層,復(fù)制子層(這里的view 是 VCView) CAReplicatorLayer * repL = (CAReplicatorLayer*)self.view.layer; repL.instanceCount = 2; //繞x軸旋轉(zhuǎn)180度 PI repL.instanceTransform = CATransform3DMakeRotation(M_PI, 1, 0, 0); repL.instanceRedOffset -= 0.1; repL.instanceGreenOffset -= 0.1...
www.dbjr.com.cn/article/1193...htm 2025-6-3