Saturday, 10 August 2013

Layer masking based on positioning iOS

Layer masking based on positioning iOS

I've never worked with animations on iOS specifically and was hoping to be
pointed in the right direction. I have so far animated a bunch of pill
shaped objects in a fashion similar to what I have below, however I have
yet to implement the correct masking based on the y positioning of the
shape.

The pill shapes are just UIViews. I'm looking for a way to get their
backgrounds to change based on their positioning; the background itself
does not move, just the pills.

No comments:

Post a Comment