uiview - minimize window animation, but for iOS? -
i have overlay text in uiview animate button in navigationbar, in way similar minimize window animation on mac os x.
i can basic animations of fading opacity , resizing windows, 1 difficult.
any clues how kind of animation uiview?
there 2 effects osx can set (if i'm understanding right), scale , genie effects. mimic scale one, need animate scale, opacity, , positions.
example using implicit animation:
view.layer.transform = catransform3dmakescale(0.2, 0.2, 1); view.layer.position = cgpointmake(yournavbarspot.x, yournavbarspot.y); view.layer.opacity = 0.0f;
to genie effect, you'd same thing , alter shape of view animates. i'm not sure if can change geometry of uiview, closest thing can think of create mask alter geometry of using uibezierpaths.
Comments
Post a Comment