title: How to HIDE the iPad keyboard from a MODAL view controller?
body: <p>I'm trying to hide the iPad keyboard from a modal view controller but it doesn't work. I have tried resignFirstResponder but that doesn't have any affect if we are in a modal view controller. I tried resignFirstResponder in a non-modal UINavigationController with the very same UIViewController and the keyboard hides correctly.</p>
  
  <p>Does anyone know how solve this problem?</p>
  
  <p>Thanks.</p>
  
  <p>[Update] it looks like there's something wrong with my code because the resignFirstResponder does work (I made a simple test case instead of using my code). But I still don't know what the problem is.</p>