iPhone: Execute code after animation of UIDeviceOrientation change finishes
Posted
by carloe
on Stack Overflow
See other posts from Stack Overflow
or by carloe
Published on 2010-04-01T19:11:10Z
Indexed on
2010/04/01
19:13 UTC
Read the original article
Hit count: 503
Not sure if I can explain this correctly, but I am trying to execute a method device orientation animation finishes. Right now I have [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(didRotate:) name:UIDeviceOrientationDidChangeNotification object:nil];
, but that triggers instantly. Is there a way to have it call didRotate
after the view rotation animation is completed?
Thanks!
© Stack Overflow or respective owner