IOS - how to hide keyboard if user clicks on randome elements and not background?
===

In my app I have something like this:

    - (IBAction)backgroundTouch:(id)sender 
    {
        [businessDescription resignFirstResponder];
        [self.view endEditing:YES]; 
    }

I am not sure which of the two lines I use is better so I use both :) It works when the text area is highlighted, and the user presses the background.

But users do not always press the background, and sometimes press on other page elements like the next element they are trying to fill out.

In my screen shot, I have the next element below the text area, and when I click there, the keyboard doesn't get hidden.  Could anyone help me hide the keyboard when the user clicks on various page elements, and when the textarea happens not to be highlighted?

![enter image description here][1]

Thanks!


  [1]: http://i.stack.imgur.com/XAqin.jpg