summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS/Renderers/EditorRenderer.cs
diff options
context:
space:
mode:
authorJason Smith <jason.smith@xamarin.com>2016-12-14 12:38:46 -0800
committerRui Marinho <me@ruimarinho.net>2016-12-14 20:38:46 +0000
commit9535315986c6ad5d51ec28f676310b9a5f7d444c (patch)
treed0492d1c6c35581040ca76aff4dc577c7227c840 /Xamarin.Forms.Platform.iOS/Renderers/EditorRenderer.cs
parenteca25db80eebc2e7936f154246ed7996f6d071a1 (diff)
downloadxamarin-forms-9535315986c6ad5d51ec28f676310b9a5f7d444c.tar.gz
xamarin-forms-9535315986c6ad5d51ec28f676310b9a5f7d444c.tar.bz2
xamarin-forms-9535315986c6ad5d51ec28f676310b9a5f7d444c.zip
Deprecate versions of iOS older than 8 (#630)
Diffstat (limited to 'Xamarin.Forms.Platform.iOS/Renderers/EditorRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.iOS/Renderers/EditorRenderer.cs10
1 files changed, 0 insertions, 10 deletions
diff --git a/Xamarin.Forms.Platform.iOS/Renderers/EditorRenderer.cs b/Xamarin.Forms.Platform.iOS/Renderers/EditorRenderer.cs
index 8819ba33..c92ccb4b 100644
--- a/Xamarin.Forms.Platform.iOS/Renderers/EditorRenderer.cs
+++ b/Xamarin.Forms.Platform.iOS/Renderers/EditorRenderer.cs
@@ -11,16 +11,6 @@ namespace Xamarin.Forms.Platform.iOS
IElementController ElementController => Element as IElementController;
- public override SizeRequest GetDesiredSize(double widthConstraint, double heightConstraint)
- {
- if (!Forms.IsiOS7OrNewer)
- {
- // Avoid crash iOS 6. iOS 6, I hate you. Why you no like Infinite size?
- return base.GetDesiredSize(Math.Min(widthConstraint, 2000), Math.Min(heightConstraint, 2000));
- }
- return base.GetDesiredSize(widthConstraint, heightConstraint);
- }
-
protected override void Dispose(bool disposing)
{
if (disposing)