【问题标题】:List of animationID in beginAnimations methodbeginAnimations 方法中的animationID列表
【发布时间】:2012-02-16 16:44:49
【问题描述】:

+ (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];

【问题讨论】:

  • 你好....我们无法读懂你的想法!!! “有一种不同的动画”???

标签: iphone ios xcode ipad sdk


【解决方案1】:

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

【讨论】:

  • 链接不再有效
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2010-10-26
  • 1970-01-01
  • 1970-01-01
  • 2019-08-09
  • 2019-02-10
  • 2022-06-17
相关资源
最近更新 更多