ios - iPhone: UIImageView Fades in - Howto? -


i have uiimageview want fade in.

is there way enable on underlying uiviewcontroller?

i have translated simplest answer, though work, c# .net monotouch users:

    public override void viewdidappear (bool animated)     {         base.viewdidappear (animated);         uiview.beginanimations ("fade in");         uiview.setanimationduration (1);         imageview.alpha = 1;         uiview.commitanimations ();     } 

initially set alpha of imageview 0 imageview.alpha = 0;

- (void)fadeinimage  { [uiview beginanimations:@"fade in" context:nil];     [uiview setanimationduration:1.0];     imageview.alpha = 1.0;     [uiview commitanimations];  } 

Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -