This commit is contained in:
bopang 2013-05-30 11:57:28 -04:00
Родитель dc5b753e32
Коммит 1d12091bc2
1 изменённых файлов: 9 добавлений и 3 удалений

Просмотреть файл

@ -45,14 +45,20 @@ namespace ViewTransitions
base.ViewDidLoad ();
view1 = new UIImageView (new UIImage ("Images/image1.png"));
view1.ContentMode = UIViewContentMode.ScaleToFill;
view1.ContentMode = UIViewContentMode.ScaleAspectFit;
view1.AutoresizingMask = UIViewAutoresizing.All;
view2 = new UIImageView (new UIImage ("Images/image2.png"));
view2.Hidden = true;
view2.ContentMode = UIViewContentMode.ScaleToFill;
view2.ContentMode = UIViewContentMode.ScaleAspectFit;
view1.AutoresizingMask = UIViewAutoresizing.All;
view3 = new UIImageView (new UIImage ("Images/image3.png"));
view3.Hidden = true;
view3.ContentMode = UIViewContentMode.ScaleToFill;
view3.ContentMode = UIViewContentMode.ScaleAspectFit;
view1.AutoresizingMask = UIViewAutoresizing.All;
imageView.AddSubview (view1);
imageView.AddSubview (view2);