Clear first responder, pg 221


#1

On pg. 221, for the method -viewWillDisappear: the following code removes the keyboard from view:

[[self view] endEditing:YES];,

I noticed even without this code clicking on the “Back” button will remove the keyboard from view, which makes me wonder if endEditing: (or something similar) is being called behind the scenes when the ItemDetailViewController is being popped from the stack?

Thanx in advance!