[CATransaction begin];
[CATransaction setDisableActions:YES];
add.layer.position = CGPointMake(collectionView.width - margin - add.width, collectionView.height - margin - add.height);
[CATransaction commit];
[CATransaction begin];
[CATransaction setDisableActions:YES];
add.layer.position = CGPointMake(collectionView.width - margin - add.width, collectionView.height - margin - add.height);
[CATransaction commit];
本文标题:关闭隐式动画
本文链接:https://www.haomeiwen.com/subject/aljcmttx.html
网友评论