# BITFeedbackComposeViewController Class Reference

Inherits from | UIViewController
Conforms to | UITextViewDelegate
Declared in | BITFeedbackComposeViewController.h

## Overview

View controller allowing the user to write and send new feedback

To add this view controller to your own app and push it onto a navigation stack, don’t create the intance yourself, but use the following code to get a correct instance:

     [[BITHockeyManager sharedHockeyManager].feedbackManager feedbackComposeViewController]

To show it modally, use the following code instead:

     [[BITHockeyManager sharedHockeyManager].feedbackManager showFeedbackComposeView]

## Tasks

### Delegate

- `delegate` property

### Presetting content

- `– prepareWithItems:`

## Properties

### delegate

Sets the `BITFeedbackComposeViewControllerDelegate` delegate.

`@property (nonatomic, weak) id<BITFeedbackComposeViewControllerDelegate> delegate`

#### Declared In

`BITFeedbackComposeViewController.h`

## Instance Methods

### prepareWithItems:

An array of data objects that should be used to prefill the compose view content

`- (void)prepareWithItems:(NSArray *)items`

#### Parameters

items

  Array of data objects to prefill the feedback text message.

#### Discussion

The follwoing data object classes are currently supported: - NSString - NSURL

These are automatically concatenated to one text string.

#### Declared In

`BITFeedbackComposeViewController.h`