call onresumo() method within a contentpage XAMARIN FORMS

Viewed 2338

I am having the following problem in my statement in iOS. I need to activate a command at the moment the user returns to the application when it is in the background. On my ContentPage I can not find a method to identify the return. In Android, it works correctly, only in iOS, I can not find any function in the content that shows me that I am returning

 protected override void OnAppearing()
    {
        Debug.WriteLine("OnAppearing()");
        base.OnAppearing();
    }

    protected override void OnDisappearing()
    {
        Debug.WriteLine("OnDisappearing");
        base.OnDisappearing();
    }

    protected override void OnBindingContextChanged()
    {
        Debug.WriteLine("OnBindingContextChanged");
        base.OnBindingContextChanged();
    }

I tried the three options but no results

2 Answers
Related