# BITFeedbackComposeViewControllerDelegate Protocol Reference

Conforms to | NSObject
Declared in | BITFeedbackComposeViewControllerDelegate.h

## Overview

The `BITFeedbackComposeViewControllerDelegate` formal protocol defines methods further configuring the behaviour of `BITFeedbackComposeViewController`.

## Tasks

### View Controller Management

- `– feedbackComposeViewController:didFinishWithResult:`
- `– feedbackComposeViewControllerDidFinish:`

## Instance Methods

### feedbackComposeViewController:didFinishWithResult:

Invoked once the compose screen is finished via send or cancel

`- (void)feedbackComposeViewController:(BITFeedbackComposeViewController *)composeViewController didFinishWithResult:(BITFeedbackComposeResult)composeResult`

#### Parameters

composeViewController

  The `BITFeedbackComposeViewController` instance invoking this delegate

composeResult

  The user action the lead to closing the compose view

#### Discussion

If this is implemented, it’s the responsibility of this method to dismiss the presented `BITFeedbackComposeViewController`

#### Declared In

`BITFeedbackComposeViewControllerDelegate.h`

### feedbackComposeViewControllerDidFinish:

This method is deprecated. If feedbackComposeViewController:didFinishWithResult: is implemented, this will not be called

`- (void)feedbackComposeViewControllerDidFinish:(BITFeedbackComposeViewController *)composeViewController`

#### Parameters

composeViewController

  The `BITFeedbackComposeViewController` instance invoking this delegate

#### Declared In

`BITFeedbackComposeViewControllerDelegate.h`