0

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

The Window was squeeze into the Dock.

I wanted to know that if there is a animation in iOS can do like that.

Thanks!

Solskjaer
  • 175
  • 1
  • 11

2 Answers2

1

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.

Community
  • 1
  • 1
DarkDust
  • 90,870
  • 19
  • 190
  • 224
0

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

}

Vanya
  • 4,973
  • 5
  • 32
  • 57