swift3 - Animation position on Multiple Image -


sorry i'm newbie swift3. have ten images need random in 1 slot , move @ same speed. view set clipstobounds = true

enter image description here

here i've tried far

uiview.animate(withduration: 0.2, delay: 0, options: [.repeat], animations: {      image1.frame = cgrect(x: 0, y: 240, width: new_width, height: new_height)   }, completion: nil)   uiview.animate(withduration: 0.2, delay: 0.2, options: [.repeat], animations: {      image2.frame = cgrect(x: 0, y: 240, width: new_width, height: new_height)     }, completion: nil) 

please help!!


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -