cocoa touch - iphone - sliding in animation -


i have uiview animate screen in following way:

imagine looking table top , have envelop , on envelop box. box covers envelop, see small envelop border not covered box. animation envelop sliding down until visible.

i simple animate this, have have view box image, on envelop, cover envelop. idea make without box view. if using application photoshop animate this, make matte (or mask) fixed , make black rectangle want envelop invisible, is, simulate covered box. then, if keep mask fixed, can animate image , appear coming below box, in fact coming region matte black (image invisible) region mate white (image visible).

is possible on ios?

can mask uiimageview or layer , animate layer keeping mask fixed?

check slide down effect here in page http://madrobby.github.com/scriptaculous/combination-effects-demo/

it give , idea of mean...

thanks

set clipstobounds-property of 'mask view' yes. add 'content view' subview 'mask view' , animate frame of 'content view' slides mask.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -