title: Custom iPhone KeyBoard for SDK 4 (iOS4 OS)
body: <p>Old SDK solution:</p>
  
  <pre><code>- (void)modifyKeyboard:(NSNotification *)notification 
  {
      UIView *firstResponder = [[[UIApplication sharedApplication] keyWindow] performSelector:@selector(firstResponder)];
  
      for (UIWindow *keyboardWindow in [[UIApplication sharedApplication] windows])
          for (UIView *keyboard in [keyboardWindow subviews])
              if([[keyboard description] hasPrefix:@"&lt;UIKeyboard"] == YES)
              {
                  MyFancyKeyboardView *customKeyboard = [[MyFancyKeyboardView alloc] initWithFrame: CGRectMake(0, 0, keyboard.frame.size.width, keyboard.frame.size.height);
                                                         [keyboard addSubview: customKeyboard];
                                                         [customKeyboard release];
              }
  }
  </code></pre>
  
  <p>Following the above method, I now find that the iOS4 is different. It will not work. I am sure this is due to differences in naming subviews (or the sort). Does anyone know how to get around this same problem, for the iphone SDK 4?</p>