1
iphone 응용 프로그램을 개발 중입니다. UIScrollview에 동적으로 뷰를 추가하고 버튼 누르기에서 스크롤 뷰의 콘텐츠 크기를 늘립니다. 이제 콘텐츠 크기 변경 과정에 애니메이션을 적용해야합니다.애니메이션 크기를 늘리십시오.
view.frame = [self whateverYourInitialFrameIs];
[UIView beginAnimations:@"ResizingAnimation" context:nil];
view.frame = [self whateverYourNewFrameShouldBe];
[UIView commitAnimations];
는 "애니메이션보기"에 나열된 방법에 대한 설명서를 읽어 미리
감사 콘텐츠 크기의 증가를 애니메이션 할 수있는 방법은