문제

I have a UIView(first view) on top of which I would like to display another UIView(second view). I display the second view using animation which causes the second view to be displayed for about 3/4 of the iPhone screen. The first view is visible underneath the animated second view. I would like to make changes to the first view as the second view is displayed. Any ideas on how I can achieve this. Right now, the animation completes, the second view is displayed and then I can change the first view. I would like to change the layout of the first screen as the second screen is being displayed. Any help is much appreciated.

도움이 되었습니까?

해결책

Basically, just do it.

You can start more than one animation at a time. If you are not animating the changes to the first view, then do them after calling commitAnimations or otherwise starting the animations on the second view. If you want to do them half way through the animation, set up a timer or delayed call.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top