summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS/Renderers/NavigationRenderer.cs
diff options
context:
space:
mode:
authorRui Marinho <me@ruimarinho.net>2016-09-14 22:56:17 +0100
committerGitHub <noreply@github.com>2016-09-14 22:56:17 +0100
commiteb79ff842e701ca4d2c9e1c9d02f654fd2c0f058 (patch)
treef19a733800ada7f18584a35e2f2c8c01dca9245e /Xamarin.Forms.Platform.iOS/Renderers/NavigationRenderer.cs
parente6a2bed3b2a532aa2f937fc6a2957458f4680ef9 (diff)
downloadxamarin-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.Platform.iOS/Renderers/NavigationRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.iOS/Renderers/NavigationRenderer.cs26
1 files changed, 3 insertions, 23 deletions
diff --git a/Xamarin.Forms.Platform.iOS/Renderers/NavigationRenderer.cs b/Xamarin.Forms.Platform.iOS/Renderers/NavigationRenderer.cs
index c4186880..654fc8ed 100644
--- a/Xamarin.Forms.Platform.iOS/Renderers/NavigationRenderer.cs
+++ b/Xamarin.Forms.Platform.iOS/Renderers/NavigationRenderer.cs
@@ -1,30 +1,14 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
-using System.Diagnostics;
-using System.Drawing;
using System.Linq;
-using System.Threading;
using System.Threading.Tasks;
+using CoreGraphics;
+using UIKit;
using Xamarin.Forms.Internals;
using Xamarin.Forms.PlatformConfiguration.iOSSpecific;
-#if __UNIFIED__
-using UIKit;
-using CoreGraphics;
-#else
-using MonoTouch.UIKit;
-using MonoTouch.CoreGraphics;
-#endif
-#if __UNIFIED__
-using RectangleF = CoreGraphics.CGRect;
-using SizeF = CoreGraphics.CGSize;
using PointF = CoreGraphics.CGPoint;
-
-#else
-using nfloat = System.Single;
-using nint = System.Int32;
-using nuint = System.UInt32;
-#endif
+using RectangleF = CoreGraphics.CGRect;
namespace Xamarin.Forms.Platform.iOS
{
@@ -309,11 +293,7 @@ namespace Xamarin.Forms.Platform.iOS
var task = GetAppearedOrDisappearedTask(page);
UIViewController poppedViewController;
-#if __UNIFIED__
poppedViewController = base.PopViewController(animated);
-#else
- poppedViewController = base.PopViewControllerAnimated (animated);
-#endif
if (poppedViewController == null)
{