1

I'm going to make a quiz game where user will have to pick correct answer from 4 options.Those options will be image format.I want those rectangular images will appear on screen on by one by Pop Up animation. Can you please tell me how can i add a popup animation on iPhone App? NB: The pop up animation should be like Pop Up transition in Keynote.I mean after Pop Up it will vibrate a little bit back and forth.

AppleLover
  • 121
  • 1
  • 12

2 Answers2

0

Check this SO link

You can tinker with the values depending on how you want your animation.

Community
  • 1
  • 1
Sohan
  • 1,287
  • 1
  • 15
  • 29
  • Can you please tell me if i want the pop up image to be shake after pop up just like a Pop Up transition in keynote? – AppleLover Jan 30 '14 at 06:59
  • I'm not sure what you mean by that. But you can check cocoacontols.com for something like that. – Sohan Feb 03 '14 at 07:15
0
//Set default frame for all 4 images.
[UIView animateWithDuration:0.5 animations:^{
    //set frame for first image
} completion:^(BOOL finished) {
   //this block will call after first animation is done.so after that animate 2nd image . do same for all 4 image.
}];

maybe this will help you.

i-Maddy
  • 84
  • 4