title: Adding tool bar on top of the uikeyboard
body: <p>I have a toolbar and i would like to place it on top of the keyboard.</p>
  
  <p>In the keyboardwillshow notification, i tried to add toolbar to the keyboard but no luck, i cant add</p>
  
  <p>Please let me know </p>
  
  <pre><code>UIWindow* tempWindow = [[[UIApplication sharedApplication] windows] objectAtIndex:1];
      UIView* keyboard;
      for(int i = 0; i &lt; [tempWindow.subviews count]; i++)
      {
          //Get a reference of the current view 
          keyboard = [tempWindow.subviews objectAtIndex:i];
  
          //Check to see if the description of the view we have referenced is "UIKeyboard" if so then we found
          //the keyboard view that we were looking for
          if([[keyboard description] hasPrefix:@"&lt;UIKeyboard"] == YES)
          {
              [keyboard addSubview:myToolbar];
          }
      }
  </code></pre>