diff options
author | Rui Marinho <me@ruimarinho.net> | 2016-09-14 22:56:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-14 22:56:17 +0100 |
commit | eb79ff842e701ca4d2c9e1c9d02f654fd2c0f058 (patch) | |
tree | f19a733800ada7f18584a35e2f2c8c01dca9245e /Xamarin.Forms.ControlGallery.iOS/BrokenNativeControl.cs | |
parent | e6a2bed3b2a532aa2f937fc6a2957458f4680ef9 (diff) | |
download | xamarin-forms-eb79ff842e701ca4d2c9e1c9d02f654fd2c0f058.tar.gz xamarin-forms-eb79ff842e701ca4d2c9e1c9d02f654fd2c0f058.tar.bz2 xamarin-forms-eb79ff842e701ca4d2c9e1c9d02f654fd2c0f058.zip |
Remove iOS classic from CI system (#353)beta-2.3.3-pre2
* [CI] Remove classic from build
* [Build] Remove classic forwarder
* [Nuget] Remove classic from Pages azure
* [Build] Remove classic csproj
* [IOS] Remove _UNIFIED_
Diffstat (limited to 'Xamarin.Forms.ControlGallery.iOS/BrokenNativeControl.cs')
-rw-r--r-- | Xamarin.Forms.ControlGallery.iOS/BrokenNativeControl.cs | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/Xamarin.Forms.ControlGallery.iOS/BrokenNativeControl.cs b/Xamarin.Forms.ControlGallery.iOS/BrokenNativeControl.cs index 37fe4c5f..f8163c19 100644 --- a/Xamarin.Forms.ControlGallery.iOS/BrokenNativeControl.cs +++ b/Xamarin.Forms.ControlGallery.iOS/BrokenNativeControl.cs @@ -1,10 +1,5 @@ -#if __UNIFIED__ using CoreGraphics; using UIKit; -#else -using System.Drawing; -using MonoTouch.UIKit; -#endif namespace Xamarin.Forms.ControlGallery.iOS { @@ -16,19 +11,12 @@ namespace Xamarin.Forms.ControlGallery.iOS public override string Text { get { return base.Text; } - set { base.Text = value.ToUpper (); } + set { base.Text = value.ToUpper(); } } -#if __UNIFIED__ - public override CGSize SizeThatFits (CGSize size) + public override CGSize SizeThatFits(CGSize size) { return new CGSize(size.Width, 150); } -#else - public override SizeF SizeThatFits (SizeF size) - { - return new SizeF (size.Width, 150); - } -#endif } }
\ No newline at end of file |