uiview - Xcode scaling image to 0 and then returning to original size. -


i new objective-c , coding in general , having difficult time trying figure out code trying write program. want image scale 0 when push button , return original size. far able scale 0 have no idea how return original size.

 -(void)rotate_imageview  {   [uiview animatewithduration: 0.5 delay:0.0 options:uiviewanimateoptioncurvelinear                     animations:^{                     cgaffinetransform scale = cgaffinetransformmakescale(0, 0);                     cgaffinetransform translate = cgafffinetransformmaketranslation(10.0, 10.0);                     self.imageview.transform = cgaffinetransformconcat(scale, translate);                     }                     completion:^(bool finished) {                     }]; 


Comments

Popular posts from this blog

Python Kivy ListView: How to delete selected ListItemButton? -

asp.net mvc 4 - A specified Include path is not valid. The EntityType '' does not declare a navigation property with the name '' -