Weird - keyboard's still on-screen

I followed the steps on p.256.

But when I ran the app and went to the detail screen, I tapped outside a text field (labels, the date value, empty space), and the keyboard sticks around.

Did anyone else see this?

Make sure your Action connection is in the correct format as the book and that you added listing 12.6:

@IBAction func backgroundTapped(_ sender: UITapGestureRecognizer) {
view.endEditing(true)