Yikes, so I did, and I had forgotten. Must be Codeheimer's disease. That is the right answer. The routine is now,
- (void)fadeView:(UIView *)theView { theView.alpha = 1.0; infoButton.hidden = FALSE; [UIView animateWithDuration:2.5 delay:0 options:UIViewAnimationOptionAllowUserInteraction animations:^{theView.alpha = 0.0;} completion:^(BOOL finished){infoButton.hidden = TRUE;} ]; } and it does what I want. Side question -- animateWithDuration::::: is a class method. How does it know which view to act on? David On Jul 29, 2011, at 9:58 PM, Roland King wrote: > You asked something similar back in March > > http://www.cocoabuilder.com/archive/cocoa/300383-iphone-animation-puzzle.html > > I think the answer is still UIViewAnimationOptionAllowUserInteraction. Don't > know why changing to Lion would have made a difference however as I think > that option has been off by default in all versions of iOS 4.x, so it should > never have worked. > > On Jul 30, 2011, at 12:44 PM, David Rowland wrote: > >> I have a routine that presents and then fades a label and a button, >> >> - (void)fadeView:(UIView *)theView { >> theView.alpha = 1.0; >> infoButton.hidden = FALSE; >> [UIView animateWithDuration:2.5 >> animations:^{theView.alpha = 0.0;} >> completion:^(BOOL finished){infoButton.hidden = TRUE;} >> ]; >> } >> >> _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com