I am writing an app in using cocos2d. This method I have written for the selector goToFirstScreen: . The view is in landscape mode. I need to send an email. So, I need to launch the MFMailComposeViewController. I need it in portrait mode.
But, the control is not entering in to viewDidLoad of the mailMe class. The problem is in goToScreen: method. But, I do not get where I am wrong ?
mailMe is the class in which I wrote the code for mail using MFMailComposeViewController.
Hi, I need to open a webpage when I touched a label in the coco2d layer. It should be opened by using safari. I am stuck at adding the view to the coco2d layer ? How can I resolve this ?
Thank you .
But, the control is not entering in to viewDidLoad of the mailMe class. The problem is in goToScreen: method. But, I do not get where I am wrong ?
Code:
-(void)goToFirstScreen:(id)sender
{
CCScene *Scene = [CCScene node];
CCLayer *Layer = [mailME node];
[Scene addChild:Layer];
[[CCDirector sharedDirector] setAnimationInterval:1.0/60];
[[CCDirector sharedDirector] pushScene: Scene];
}
Hi, I need to open a webpage when I touched a label in the coco2d layer. It should be opened by using safari. I am stuck at adding the view to the coco2d layer ? How can I resolve this ?
Thank you .