I have an inputAccessoryView for a UITextField set up, which is loaded from a XIB when needed (in the exact same way as Apple's KeyboardAccessory example).

I'm trying to get the buttons on it to click when pressed using the playInputClick function but I can't work out how. The [Apple documentation](http://developer.apple.com/library/ios/#documentation/uikit/reference/UIDevice_Class/Reference/UIDevice.html#//apple_ref/occ/instm/UIDevice/playInputClick) says that I need to add add a delegate method to the view, but the view was created purely in interface builder so I don't see how I can do this.

Does anyone know how to make this work? There seems to be no example code of this method being used anywhere on the internet.