title: I use CCTextFieldTTF and call method attachWithIME() but even can't Open keyboard on pad
body: <p>——1、I create cclayer's subClass:</p>
  
  <pre><code>class LogoInLayer : public cocos2d::CCLayer
  {
  
  public:
  
      void onEnter();
      void onExit();
      void registerWithTouchDispatcher();
      bool ccTouchBegan(CCTouch* pTouch, CCEvent* event);
      void ccTouchEnded(CCTouch* pTouch, CCEvent* event);
      void ccTouchMoved(CCTouch *pTouch, CCEvent *pEvent);
      void keyMenuClicked();
      void keyBackClicked();
  
  };
  </code></pre>
  
  <p>——2、In onEnter method,I created a CCTextFieldTTF pointer and set:</p>
  
  <pre><code>CCTextFieldTTF * l = CCTextFieldTTF::textFieldWithPlaceHolder("12345567", "", 25);
  
  l-&gt;setPosition(ccp(200,200));
  
  addChild(l, 5,1234);
  
      this-&gt;setIsTouchEnabled(true);
      this-&gt;setIsKeypadEnabled(true);
  </code></pre>
  
  <p>——3、And also override registerWithTouchDispatcher() method:</p>
  
  <pre><code>void LogoInLayer::registerWithTouchDispatcher()
  {
  
      CCTouchDispatcher::sharedDispatcher()
        -&gt;addTargetedDelegate(this, kCCMenuTouchPriority + 2, true);
  
  }
  </code></pre>
  
  <p>——4、Then I write code In CCTouchBegan:</p>
  
  <pre><code>CCTextFieldTTF* l = (CCTextFieldTTF*)this-&gt;getChildByTag(1234);
  
  l-&gt;attachWithIME();
  </code></pre>
  
  <p>I couldn't find anything wrong,but even can't Open keyboard on pad when running.</p>