views:

267

answers:

0

Hi All,

I am developing a game in cocos2d in which I have to connect my iphone game with face-book. for that I have code

    FBLoginButton *button=[[[FBLoginButton alloc]init] autorelease];
[[[Director sharedDirector]openGLView] addSubview :button] ;

when I click on button face-book login page is display. when I click on Username text box keyboard of iPhone is appear behind the login page. Keyboard should appear in front of login page.

I am not able to understand the problem.

please guide me to solve this problem.