iPhone SDK: How to determine keyboard type within a UIKeyboardDidShowNotification?
<p>I need to know the current keyboard type. I was setting an instance variable in</p>

<pre><code>- (BOOL)textFieldShouldBeginEditing:(UITextField *)textField
</code></pre>

<p>However, testing has shown that this is not always reliable because of the asynchronous nature of notifications.</p>

<p>What I am wondering is if anyone can tell me how to determine the current keyboard type within 
a notification?</p>

<pre><code>- (void)keyboardDidShow:(NSNotification *) {
    // Need way to determine keyboard type here
  }
</code></pre>

<p>Thanks.</p>
