private OperationResult ShowSharingSheet(ISharingContent content) { var dialog = new ShareDialog(); dialog.FromViewController = NavigationHelper.GetActiveViewController(); dialog.SetShareContent(content); dialog.Mode = ShareDialogMode.ShareSheet; bool success = dialog.Show(); if (success) { return(OperationResult.AsSuccess()); } else { return(OperationResult.AsFailure("Could not display Facebook sharing sheet")); } }