iphone - beginAnimations方法中的animationID列表

标签 iphone ios xcode ipad sdk

我在 + (void)beginAnimations:(NSString *)animationID context:(void *)context 方法中有动画 ID 的具体列表吗? 例如我看到这段代码:

[UIView beginAnimations : @"Display notif" context:nil]; 
[UIView setAnimationDuration:1];
[UIView setAnimationBeginsFromCurrentState:FALSE];

    CGRect frame = paperCurl.frame;
    frame.size.height -= 40;
    frame.origin.y += 40;
    paperCurl.frame = frame;

[UIView commitAnimations];

最佳答案

此键不是任何预定义的标准键。这些键只是用户定义的名称,用于引用此动画以供将来使用。 Check this link for reference

关于iphone - beginAnimations方法中的animationID列表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8969859/

相关文章:

iOS9导致iPhone 5优化丢失

ios - 迪尔德 : Symbol not found: _kABPersonAddressCityKey XCODE 8 issue

ios - 出现键盘时如何向上移动 UIScrollView?

ios - UICollectionView didSelectRowAt 从未被调用

iphone - 如何使 pdf 页面适合 vfr reader 中的屏幕尺寸

ios - 使用 swift 存储在应用程序中拍摄的 UIImages 的正确方法是什么?

iOS UINavigationController barHideOnTapGestureRecognizer 和 UIButton 干扰

ios - 球掉落动画不起作用(Swift)

swift - 如何对标签栏的第二项进行转接?

iphone - 在 iPhone 应用程序中验证用户身份的最简单方法?