Change UIInputToolbar.delegate to UIInputToolbar.inputDelegate since iOS7 has UIToolbar.delegate which clashes with UIInputToolbar.delegate.
Merge pull request #4 from chaione/ios7

Make it work with iOS7