我有一个每3秒调用一次的函数.如何为左右摇晃的按钮制作摇动动画.
func shakeButton() { if opened == false { //Shake Animation } }
animation uibutton ios swift3 xcode8
animation ×1
ios ×1
swift3 ×1
uibutton ×1
xcode8 ×1