-1

I'm trying to animate a stram of images in a view using auto layout.

The animations are coming along nicely. However, I need the image be masked by the view they are animating in, they must not run off but must be cut off. This I just cannot figure out. Can anybody show me the light?

enter image description here

Arne Oldenhave
  • 201
  • 1
  • 3
  • 12

1 Answers1

0

if u want a mask you can set:

imageView.layer.masksToBounds = true
pikacode
  • 179
  • 7