我在美國待了5年 沒覺得老師發(fā)音怎么了 很多美國人自己說話都會帶口音 別拿你們那點淺薄的功夫在這邊評論比你們強的人 丟人知道嗎 順便感謝老師的課程
2016-08-24
如果使用 AutoLayout,那么在 viewDidAppear() 方法中必須使用下面的代碼才能達到相同的效果:
dispatch_async(dispatch_get_main_queue()) {
UIView.animateWithDuration(1) {
self.blueSquare.center.x = self.view.bounds.width - self.blueSquare.center.x
}
}
dispatch_async(dispatch_get_main_queue()) {
UIView.animateWithDuration(1) {
self.blueSquare.center.x = self.view.bounds.width - self.blueSquare.center.x
}
}
2016-07-13