Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ public override void ViewWillAppear(bool animated)
StatusBarHidden = true;
}

public override void ViewWillDisappear(bool animated)
protected override void ViewWillReallyDisappear(bool animated)
{
base.ViewWillDisappear(animated);
base.ViewWillReallyDisappear(animated);

StatusBarHidden = false;
}
Expand Down
8 changes: 8 additions & 0 deletions Softeq.XToolkit.WhiteLabel.iOS/ViewControllerBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ public override void ViewWillAppear(bool animated)
public override void ViewWillDisappear(bool animated)
{
base.ViewWillDisappear(animated);
if (IsViewLoaded)
{
ViewWillReallyDisappear(animated);
}
}

protected virtual void ViewWillReallyDisappear(bool animated)
{
DetachBindings();
NotifyViewModelAboutDisappearing();
}
Expand Down
Loading