我想要访问一个UIViewAnimationTransition的相应号码(请参阅图像,编号1。)。另外,第二个数字对应什么(图像,数字2),它是否与访问第一个相关。如下所示,选项是快速定义的,然后输入动画块。
UIViewAnimationOptions option = 3; // UIViewAnimationOptionTransitionCurlUp
UIImage * toImage = [backgroundImages objectAtIndex:backgroundImageCount];
[UIView transitionWithView:backgroundView
duration:transitionDuration
options:option
animations:^{
[backgroundView setImage:toImage];
} completion:nil];

发布于 2013-07-24 13:19:42
这些都是位移位值。例如,1<<20等于1048576。如果你需要的话,你可以在聚光灯下计算它们

也就是说,你不应该用他们的数字来指代他们。
https://stackoverflow.com/questions/17834791
复制相似问题