0

I am new to cocos-2d , so please be gentle as this may be very noob question.

Ok now my question.

How can i implement alert box like thing in cocos 2D, with yes or no button.So Yes button calls to a method.that method opens an website link.

For example, i have seen several games ,where an alert comes to make user give review in app store..When they press yes, it takes to app store.

vishnu
  • 869
  • 1
  • 16
  • 25

1 Answers1

0

Why to not use the UIAlertView? You can work with it as any UIKit application and take a look to this thread for the rate/review library. Anyway you can check this article which provide a custom implementation for Cocos2D.

Community
  • 1
  • 1
Yannick Loriot
  • 7,107
  • 2
  • 33
  • 56
  • that article is about the ccscale9sprite, not the alert (not sure why he use alert pictures, but the codes are not – OMGPOP Mar 06 '13 at 08:23