I'm trying to implement openfint in my cocosdaddy iPhone game, but here's something weird that I do not know That was how to solve. Here's what I like to do when I start it, what the openfint looks like: and here is the code of initialization:
[Directive setevice orientation: kCdDeviceOrmentation Landscape Lift]; NSDictionary * settings = [NSDictionary dictionaryWithObjectsAndKeys: [NSNumber numberWithInt: UIInterfaceOrientationLandscapeLeft], OpenFeintSettingDashboardOrientation, @ "NAME", OpenFeintSettingShortDisplayName, [NSNumber numberWithBool: NO], OpenFeintSettingEnablePushNotifications, [NSNumber numberWithBool: Yes], OpenFeintSettingAlwaysAskForApprovalInDebug, [NSNumber numberWithBool: Yes], OpenFeintSettingDisableUserGeneratedContent , Zero]; [OpenFeint initializeWithProductKey: @ "PRODUCTKEY" and secret: @ "SECRET" and the display name: @ "NAME" and Settings: Settings and Delegates: [OpenOpenFeintDelegate with OFDelegatesContainer Container: self]]; [[CCDDector Shared Director] Runaway Sassine: [Manmensansen Node]];
I have seen your post in some places because I had the same problem as you were . I guessed a possible solution for you and thought that I would answer. It appears that on some occasions the OpenAfficient key is unable to reach the window and in that case it creates its window which can not do this because it is a solution to the fact that your OpenFeint is specifically aware Which is to go by adding in window settings. My settings are down and as you can see I had set up "OpenFeintSetting PresentationWindow" with my key window, after doing this it works wonderfully, hope it helps! Objects with the NSDictionary dictionary: [NSNM number number: UINPerformance LandscapeArchite], OpenFinest SettingDashboardOrmentation, Window, OpenFinchingSetting Window, @ "ComingSoon", OpenEfinance SettingDartplayName, [NSNumber NumberWindow: Yes] ], OpenFontSetting enabled Push Notifications, Zero];
Comments
Post a Comment