1
因此,我只是升級xCode到版本7.0(7A220),它打破了一些動畫,我不知道這裏有什麼問題。動畫AutoLayout約束在iOS中的休息9
[UIView animateWithDuration:SLIDE_UP_DURATION animations:^{
self.cubeIconWhiteYAlignmentToContainerView.constant = actualOffset;
[self.cubeNoIconWhiteImageView layoutIfNeeded];
[self.cubeIconWhiteImmageView layoutIfNeeded];
self.buttonConstraintToBottom.constant = FINAL_BUTTON_HEIGHT;
[self.logInButton layoutIfNeeded];
[self.registerButton layoutIfNeeded];
} completion:^(BOOL finished) {
if (finished) {
[self fadeIn];
}
}];
按鈕向上滑動就好,但圖像視圖捕捉到它們的最終高度。我錯過了什麼,這只是蘋果方面的一個錯誤?