在UIView动画完成块中锁定/解锁代码的关键部分 - Swift

时间:2015-07-24 16:28:10

标签: swift

如何使用Swift(在子类UIView中)锁定和解锁UIView动画完成块中的关键代码段?

sudo gedit $(path to your architecture specific ini i.e. TOS_DI...ini)

Djavax.net.ssl.trustStore=/etc/ssl/certs/java/cacerts

1 个答案:

答案 0 :(得分:0)

试试这个:

UIView.animateWithDuration(0.1, animations: {
    // your animation code
}, completion: { (complete: Bool) in
    // your completion code
})