0

I tried to show subView animation like pop view, but I know only like this:

twobuttonView = [[UIView alloc] init];
twobuttonView.frame = CGRectMake(300, 60, 80, 100);
[self.view addSubview:twobuttonView];

[UIView animateWithDuration:0.8
                 animations:^{
                     twobuttonView.frame = CGRectMake(220, 50, 100, 80); // its final location
                 }];
twobuttonView.backgroundColor = [UIColor whiteColor];

but I need like this:

enter image description here

David Rönnqvist
  • 56,267
  • 18
  • 167
  • 205
Pavan Alapati
  • 317
  • 1
  • 5
  • 17

0 Answers0