title: How to disable/enable the return key in a UITextField?
body: <p>Is there a way to programmatically enable or disable the Return Key on the <code>UIKeyboard</code>? The closest I could find is <a href="http://developer.apple.com/iPhone/library/documentation/UIKit/Reference/UITextInputTraits_Protocol/Reference/UITextInputTraits.html#//apple_ref/occ/intfp/UITextInputTraits/enablesReturnKeyAutomatically" rel="noreferrer"><code>enablesReturnKeyAutomatically</code></a>, but that only will tell whether to disable it at all.</p>