If I'm not mistaken, then there is no method that will create a button something like our usual iphone codes.
For cocos2d, by creating some functions that will work like buttons, we need to create CCMenuItem. Menu items are the best way to create a button and are easy to manage.
.