In ViewTransitions sample, enable autoresize of imageView to support landscape.
This commit is contained in:
bopang 2013-05-31 14:42:05 -04:00
Родитель 1d12091bc2
Коммит 12b9d6861a
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -51,13 +51,13 @@ namespace ViewTransitions
view2 = new UIImageView (new UIImage ("Images/image2.png"));
view2.Hidden = true;
view2.ContentMode = UIViewContentMode.ScaleAspectFit;
view1.AutoresizingMask = UIViewAutoresizing.All;
view2.AutoresizingMask = UIViewAutoresizing.All;
view3 = new UIImageView (new UIImage ("Images/image3.png"));
view3.Hidden = true;
view3.ContentMode = UIViewContentMode.ScaleAspectFit;
view1.AutoresizingMask = UIViewAutoresizing.All;
view3.AutoresizingMask = UIViewAutoresizing.All;
imageView.AddSubview (view1);