Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 03-10-2009, 06:10 AM   #2 (permalink)
Warp
Registered Member
 
Join Date: Dec 2008
Posts: 107
Default

What I believe is happening is this: In a normal situation starting a transition animation by removing the old view, adding the new one and then triggering CATransition works as expected. However, since in this two-part transition I'm starting a new fading transition inside the animationDidStop function (by removing the current, black view, and adding the final new view) the iPhone sometimes, for some reason, shows the replaced new view just before the new animation starts. This causes it to (sometimes) flash the final view very briefly on screen before starting the animation from the black view to the final view. This seems to happen only when I start an animation inside animationDidStop, but not in other more normal situations (such as on a button click callback function).

What I don't know is what to do about that. After the transition from the old view to the black view the animationDidStop function is called... and that's it. Nothing else that I know of gets called. I have no idea where else I could trigger the latter half of the transition (ie. from the black view to the final view).
Warp is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,849
Threads: 89,215
Posts: 380,664
Top Poster: BrianSlick (7,129)
Welcome to our newest member, joeceastham
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:44 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.