Can I disable the undo/redo buttons above the keyboard without disabling undo registration?

I'd like to temporarily disable the undo/redo buttons in a UITextView, but still register undo actions when typing text and so on. Is this possible?

Can I disable the undo/redo buttons above the keyboard without disabling undo registration?
 
 
Q