objective c - iOS: Zoom in/out animation for showing an UIView -


i have 1 view controller, have 2 buttons. clicking on 1 button, i'll show uiview (size: 900 * 600) programmatically. right now, view comes clicking on button action. but, want have view coming if kind of "zoom in" animation , show user, , when user closes view, go "zoom out" , removed parent view.

could please suggest me, how can achieve animation?

thanks.

the property transform animatable. create cgaffinetransformmakescale destination scale factor, , set

view.transform = scaletransform; 

inside animation block.


Comments

Popular posts from this blog

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

how can i manage url using .htaccess in php? -

ios - I get the error Property '...' not found on object of type '...' -