title: how to increase size of toolbar which has textview in it
body: <p>How to increase size of toolbar in accordance with the textview and on clicking return  it should move to new line.the length of toolbar should increase as text is enterd in uitextview</p>
  
  <pre><code> text view which is in toolbar 
  my code is  below  
  
  - (void)viewDidLoad
  {
      [super viewDidLoad];
      // Do any additional setup after loading the view from its nib.
  
      textView = [[UITextView alloc] initWithFrame:CGRectMake(100, 10, 200, 42)];
      textView.contentInset = UIEdgeInsetsMake(0, 0, 0, 0);
      UIBarButtonItem *barItem = [[UIBarButtonItem alloc] initWithCustomView:textView];
  
      UIToolbar *toolbar = [[UIToolbar alloc] initWithFrame:CGRectMake(0, 0, 320.f, 80.f)];
  
      UIBarButtonItem *doneButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonItemStylePlain target:self action:@selector(close)];
      toolbar.items = [NSArray arrayWithObjects:doneButton,barItem,nil];
      textView.inputAccessoryView=toolbar;
      textView.delegate=self;
      [self.view addSubview:toolbar];
  }
  </code></pre>