-1

Possible Duplicate:
Programatically align a toolbar on top of the iPhone keyboard

I'm trying to understand, how to do the toolbar above the keyboard as in this image
enter image description here

Is this a native ios view I can use?

Community
  • 1
  • 1
user1590031
  • 308
  • 1
  • 5
  • 15
  • 1
    http://gabriel-tips.blogspot.co.uk/2011/05/input-accessory-view-how-to-add-extra.html http://idebuggerman.blogspot.co.uk/2010/08/uitoolbar-for-keyboard-with.html please do some research before posting questions - there's loads of info out there. – Thomas Clayson Aug 28 '12 at 15:15
  • And it's not related to objective-C but to Cocoa Touch. – Cyrille Aug 28 '12 at 15:15
  • @Cyrille cocoa touch IS [a framework of] objective-c – Thomas Clayson Aug 28 '12 at 15:16

2 Answers2

7

Only one keyword to search: inputAccessoryView.

Cyrille
  • 25,014
  • 12
  • 67
  • 90
2

This is something you can do with the inputAccessoryView have a look at http://developer.apple.com/library/ios/#documentation/uikit/reference/UITextField_Class/Reference/UITextField.html#//apple_ref/occ/instp/UITextField/inputAccessoryView

Bot
  • 11,868
  • 11
  • 75
  • 131
  • Thanks for this - I've been writing my own keyboard toolbar stuff for ages, never occurred to me that one might be built in! Even old dogs can learn new tricks... – SomaMan Aug 28 '12 at 15:28