summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS/iOSAppLinks.cs
diff options
context:
space:
mode:
authorRui Marinho <me@ruimarinho.net>2016-09-14 21:56:17 (GMT)
committerGitHub <noreply@github.com>2016-09-14 21:56:17 (GMT)
commiteb79ff842e701ca4d2c9e1c9d02f654fd2c0f058 (patch)
treef19a733800ada7f18584a35e2f2c8c01dca9245e /Xamarin.Forms.Platform.iOS/iOSAppLinks.cs
parente6a2bed3b2a532aa2f937fc6a2957458f4680ef9 (diff)
downloadxamarin-forms-eb79ff842e701ca4d2c9e1c9d02f654fd2c0f058.zip
xamarin-forms-eb79ff842e701ca4d2c9e1c9d02f654fd2c0f058.tar.gz
xamarin-forms-eb79ff842e701ca4d2c9e1c9d02f654fd2c0f058.tar.bz2
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/iOSAppLinks.cs')
-rw-r--r--Xamarin.Forms.Platform.iOS/iOSAppLinks.cs13
1 files changed, 1 insertions, 12 deletions
diff --git a/Xamarin.Forms.Platform.iOS/iOSAppLinks.cs b/Xamarin.Forms.Platform.iOS/iOSAppLinks.cs
index 8c46ed0..f8771a9 100644
--- a/Xamarin.Forms.Platform.iOS/iOSAppLinks.cs
+++ b/Xamarin.Forms.Platform.iOS/iOSAppLinks.cs
@@ -1,16 +1,9 @@
´╗┐using System;
using System.Threading.Tasks;
-#if __UNIFIED__
-using Foundation;
using CoreSpotlight;
+using Foundation;
using UIKit;
-#else
-using MonoTouch.Foundation;
-using MonoTouch.UIKit;
-using MonoTouch.CoreSpotlight;
-#endif
-
namespace Xamarin.Forms.Platform.iOS
{
internal class IOSAppLinks : IAppLinks
@@ -60,11 +53,7 @@ namespace Xamarin.Forms.Platform.iOS
//we need to make sure we index the item in spotlight first or the RelatedUniqueIdentifier will not work
await IndexItemAsync(searchItem);
-#if __UNIFIED__
var activity = new NSUserActivity($"{appDomain}.{contentType}");
-#else
- var activity = new NSUserActivity (new NSString($"{appDomain}.{contentType}"));
-#endif
activity.Title = deepLinkUri.Title;
activity.EligibleForSearch = true;