ios - How to animate a particular view in View controller -


i have view (view x) in view controller , on completion of task want flip view , show image view on location along flip animation. using code right animates whole view controller.

[uiview transitionfromview:_viewverification // view hide                     toview:_imageviewdone // image display                   duration:0.5                    options:uiviewanimationoptiontransitionflipfromright                 completion:nil]; 

any idea how can implement thing?

thanks.

please change according requirements hope work you.

 int x=15,c=0,y=5,z=110,image_count=1;         (int i=0; i<trailsinfoarray.count; i++) { if(c==3)         {         c=0;         x=x+110;         }         [uiview animatewithduration:1.0f                                           delay:0.3f                                         options:uiviewanimationoptioncurveeaseout                                      animations:^(void) {                                          tileimage.frame = cgrectmake(y+(c*z), x, 90, 90);                                      }                                      completion:null];   } 

Comments