0
我有兩個視圖,當您通過點擊按鈕從視圖1轉到視圖2時,所有按鈕都會在屏幕上顯示動畫。如果您離開第二頁並返回第一頁,則所有元素仍然不在屏幕上。有沒有辦法讓這些元素在轉換後回到原來的位置?當導航回該視圖時,不會重置快速動畫
這是
func loggedInAnimate5(){
UIView.animateWithDuration(3,
delay: 1.2,
options: .CurveEaseIn,
animations: {
self.logo.center.y += self.view.bounds.height
self.logo.alpha = 0.0
}, completion: nil
)
}