Change view like page turn iphone/ipad cocoa
I want to change the view from right to left like a page turn whatever be the iphone orientation (landscape or portrait).. curlup/down is just similar, but not work in landscape mode
A page touch API is awesom开发者_高级运维e, but its paid. http://www.code-flakes.com/2009/12/papertouch-api.html
is any body help me something similar to this.
Thanks
The Leaves project might be what you're looking for.
It seems that you are using cocos2d. There you can use:
[[CCDirector sharedDirector] replaceScene:[CCTransitionPageTurn transitionWithDuration:1 scene: newScene backwards:NO]];
精彩评论