зеркало из https://github.com/xamarin/ios-samples.git
Refixed bug 11645
In ViewTransitions sample, enable autoresize of imageView to support landscape.
This commit is contained in:
Родитель
1d12091bc2
Коммит
12b9d6861a
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче