Forum Xamarin Xamarin.Forms

global::Xamarin.Forms.Forms.Context.StartActivity on iOS

Is there something like Xamarin.Forms.Forms.Context.StartActivity on iOS?

Xamarin.Forms.Forms on iOS does not have the Context property; is that because it's android only (as in android context)?


  • LuckyDayLuckyDay USMember ✭✭✭

    What exactly are you trying to do? Maybe what you're looking for can be found in UIApplication.SharedApplication. That has the .Delegate property that will give you your AppDelegate class (I think). If I'm wrong there, someone please correct me :)

  • EricPolereckyEricPolerecky USMember ✭✭

    I'm working on getting facebook authentication to work using the native accounts on both iOS and Android.

    Context is not available across platforms but: App.Current.MainPage can be called from Forms PCL, Android Activity and iOS custom page renderer.

    This, App.Current.MainPage is what I was looking for.

Sign In or Register to comment.