summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS/FormsApplicationDelegate.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.iOS/FormsApplicationDelegate.cs')
-rw-r--r--Xamarin.Forms.Platform.iOS/FormsApplicationDelegate.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.iOS/FormsApplicationDelegate.cs b/Xamarin.Forms.Platform.iOS/FormsApplicationDelegate.cs
index da51718..a4ffd89 100644
--- a/Xamarin.Forms.Platform.iOS/FormsApplicationDelegate.cs
+++ b/Xamarin.Forms.Platform.iOS/FormsApplicationDelegate.cs
@@ -117,7 +117,7 @@ namespace Xamarin.Forms.Platform.iOS
if (application == null)
throw new ArgumentNullException("application");
- Application.Current = application;
+ Application.SetCurrentApplication(application);
_application = application;
(application as IApplicationController)?.SetAppIndexingProvider(new IOSAppIndexingProvider());