У меня есть UIImageView
, который я хочу затухать.
Есть ли способ включить это в базовом UIViewController
?
Я перевел простейший ответ, хотя все они работают, C# .NET
для пользователей MonoTouch
:
public override void ViewDidAppear (bool animated)
{
base.ViewDidAppear (animated);
UIView.BeginAnimations ("fade in");
UIView.SetAnimationDuration (1);
imageView.Alpha = 1;
UIView.CommitAnimations ();
}