开发者

A question about a animation on IOS

It was a beautiful animation when I minimized a window on Mac OS.

The Window was squeeze into the Dock.

I wanted to 开发者_StackOverflow社区know that if there is a animation in iOS can do like that.

Thanks!


The animation is called "suck", and unfortunately it's still private (AFAIK), so you can't use it in apps you want to submit to the App Store.


There is something similar on iOS, but the animation gets its view to upper left corner.


- (void)cancelHelp
{
    [UIView beginAnimations:nil context:NULL];
    [UIView setAnimationDuration:0.5];
    [UIView setAnimationTransition:103 forView:self.view cache:NO];
    [self.helpView removeFromSuperview];
    [UIView commitAnimations];

}

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜