I have a button that glows in my app (subclass of UIButton). To animate the glowing i use the following method
- (void)glow
{
[UIView animateWithDuration:1.0f
delay:0.0f
options:UIViewAnimationOptionCurveEaseInOut
animations:^(void){
if (glowingImageView_.alpha != 1.0f) {
[glowingImageView_ setAlpha:1.0f];
}
else {
[glowingImageView_ setAlpha:0.3f];
}
}
completion:^(BOOL finnished){
if (on_) {
[self glow];
}
}];
}
It works fine running on iOS 5, but in iOS 4.3 my app stops handling any user interaction. Any one have any idea what might be causing this?
Thanks