0
는FB 연결 문제가 cocos2d 아이폰에 있습니까? 내가이 선 다음이 코드를 작성하면
#import <Foundation/Foundation.h>
#import "cocos2d.h"
#import "FBConnect.h"
//Register the delegates with this layer
@interface GameLayer :CCLayer<FBDialogDelegate, FBSessionDelegate, FBRequestDelegate>
{
//******************************************************/
// This is the facebook session that we use to interface
// with facebook, EVERYTHING facebook related relies
// on this: Login, Publishing Stories, etc...
//******************************************************/
FBSession *_session;// Error occur:
}
//******************************************************
// Facebook notifications from MenuLayer to do the work
//******************************************************
-(void)LogOutFaceBook:(NSNotification *)notification;
-(void)LoginFaceBook:(NSNotification *)notification;
@end
가 나타납니다이 오류는 다음과 같습니다 오류 : 예상 지정자-규정 목록을하기 전에 'FBSession'는
내가 어떻게이 문제를 해결할 수 있습니까? 내 프로젝트에서 FBConnect 폴더와 FBConnect.bundle을 연결합니다. 어떻게 하죠? 명령 키를 누를 및 더블 클릭 FBSession에, 그것은 정의에 당신을 데려 갈 않는 유지하는 경우
ur 프로젝트에서 [공유 키트] (http://getsharekit.com/install/)를 사용하여 fb를 처리 할 수 있습니다 – rptwsthi