title: How can I add a toolbar above the keyboard?
body: <p>I have created a <code>UIToolBar</code> programmatically and added a <code>UITextField</code> on it. Now, I need that toolbar to be above the keyboard when I click in another text field.                  </p>
  
  <pre><code>UIToolbar *toolBar=[[UIToolbar alloc]initWithFrame:CGRectMake(0,400, 320, 60)];
  [self.view addSubview:toolBar];
  
  UITextField *txtView=[[UITextField alloc]initWithFrame:CGRectMake(0, 400, 260, 30)];
  txtView.backgroundColor =[UIColor  grayColor];
  txtView.placeholder=@"Address";
  UIBarButtonItem *txtfieldItem=[[UIBarButtonItem alloc]initWithCustomView:txtView];
  toolBar.items =[NSArray arrayWithObject:txtfieldItem];
  </code></pre>