2013-03-04 2 views

답변

0

:

[UIView animateWithDuration:0.5 animations:^{ 
    button.frame = CGRectMake(20, 10, 50, 10); // the final button frame 
}]; 
+2

그것은 주목해야한다 버튼은 자동 레이아웃을 사용하는 경우 버튼 프레임 대신 버튼에 제약 조건을 적용합니다. – Andrew

관련 문제