cocos2d / cocos2d-x

Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.
https://www.cocos.com/en/cocos2d-x
18.18k stars 7.05k forks source link

ccTouchBegan comes in late in CCMenu objects (iOS7 Only) #3351

Closed QcMat closed 11 years ago

QcMat commented 11 years ago

With xcode 4 or 5 and iOS7 iPhone 5, my game compiles fine, but ccTouchBegan is called late in CCMenu.cpp. iPad on iOS6 + Xcode 4 or 5 is fine, so this is iOS7 related, or for some reason, which I doubt, iphone 5 related.

I put a CCLog in there and I can definitely see a delay of at least 0.3 seconds from when I tap to when I see it. I noticed this because I use isSelected() of menu items in my gameplay and noticed the noticeble delay.

I hope this help

Thanks!

QcMat commented 11 years ago

Fixed in ios 7 Beta 5