I'm doing an incredibly simple animation. I'm just moving a button down.
UIView.animateWithDuration(1.0) { () -> Void in
self.backButton.center.y += 30.0
}
From my understanding, and what I've read of other answers to similar questions this should be all it takes.
But what instead happens, the button teleports (for lack of a better word) up 30 and then animates back to the original position. I've been tearing out my hair at this little problem. Any help is appreciated!