Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6644203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:08:23+00:00 2026-05-26T00:08:23+00:00

I integrated successfully openfeint to my app on iPhone/iPod Touch. But the layout is

  • 0

I integrated successfully openfeint to my app on iPhone/iPod Touch. But the layout is broken on the iPad.
I copy pasted the code from the sample app from openfeint.

- (void) performOpenfeintInitLogic
{
    UIViewController * rootVC = [UIApplication sharedApplication].keyWindow.rootViewController;
    NSDictionary* settings = [NSDictionary dictionaryWithObjectsAndKeys:
                              [NSNumber numberWithInt:UIInterfaceOrientationPortrait], OpenFeintSettingDashboardOrientation,
                              @"asdasdasdas", OpenFeintSettingShortDisplayName,
                              [NSNumber numberWithBool:YES], OpenFeintSettingEnablePushNotifications,
                              [NSNumber numberWithBool:NO], OpenFeintSettingDisableUserGeneratedContent,
                              [NSNumber numberWithBool:NO], OpenFeintSettingAlwaysAskForApprovalInDebug,
#ifdef DEBUG
                              [NSNumber numberWithInt:OFDevelopmentMode_DEVELOPMENT], OpenFeintSettingDevelopmentMode,
#else
                              [NSNumber numberWithInt:OFDevelopmentMode_RELEASE], OpenFeintSettingDevelopmentMode,
#endif
                              window, OpenFeintSettingPresentationWindow,
#ifdef DEBUG
                              [NSNumber numberWithInt:OFDevelopmentMode_DEVELOPMENT], OpenFeintSettingDevelopmentMode,
#else
                              [NSNumber numberWithInt:OFDevelopmentMode_RELEASE], OpenFeintSettingDevelopmentMode,
#endif
                              nil
                              ];    
    [OpenFeint initializeWithProductKey:@"hgghf"
                              andSecret:@"nbvnb"
                         andDisplayName:@"ncvnv"
                            andSettings:settings
                           andDelegates:nil];

    [OpenFeint launchDashboard];

    OFGameFeedView * gameFeed = [OFGameFeedView gameFeedView];
    [rootVC.view addSubview:gameFeed];
}

Here the broken layout
iPad broken layout

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T00:08:24+00:00Added an answer on May 26, 2026 at 12:08 am

    Its running now with this configuration. The error was a wrong bundle. This is the right one: OFResources_Universal.bundle.

    The config is now:

    UIViewController * rootVC = [UIApplication sharedApplication].keyWindow.window.rootViewController;
        NSDictionary* settings = [NSDictionary dictionaryWithObjectsAndKeys:
                                  [NSNumber numberWithInt:UIInterfaceOrientationLandscapeRight], OpenFeintSettingDashboardOrientation,
                                  @"asdasdads", OpenFeintSettingShortDisplayName,
                                  [NSNumber numberWithBool:YES], OpenFeintSettingGameCenterEnabled,
                                  [NSNumber numberWithBool:YES], OpenFeintSettingEnablePushNotifications,
                                  [NSNumber numberWithBool:NO], OpenFeintSettingDisableUserGeneratedContent,
                                  [NSNumber numberWithBool:NO], OpenFeintSettingAlwaysAskForApprovalInDebug,
    #ifdef DEBUG
                                  [NSNumber numberWithInt:OFDevelopmentMode_DEVELOPMENT], OpenFeintSettingDevelopmentMode,
    #else
                                  [NSNumber numberWithInt:OFDevelopmentMode_RELEASE], OpenFeintSettingDevelopmentMode,
    #endif
                                  rootVC, OpenFeintSettingPresentationWindow,
    #ifdef DEBUG
                                  [NSNumber numberWithInt:OFDevelopmentMode_DEVELOPMENT], OpenFeintSettingDevelopmentMode,
    #else
                                  [NSNumber numberWithInt:OFDevelopmentMode_RELEASE], OpenFeintSettingDevelopmentMode,
    #endif
                                  nil
                                  ];    
        [OpenFeint initializeWithProductKey:@"asdasdas"
                                  andSecret:@"asdasdasd"
                             andDisplayName:@"asdasdsad"
                                andSettings:settings
                               andDelegates:nil];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi I'm able to successfully integrate iphone app with facebook framework. But I need
I successfully integrated iAd into my iPhone app. However, I can't find a way
I have integrated Twitter and Facebook in my iPhone App successfully. Also Facebook and
I have successfully integrated twitter's Oauth into my app, but anybody have an idea
i successfully integrated my .NET Dll into MATLAB. Everything is good. But, i pass
I've successfully integrated the LinkedIn API with my website, but I'm struggling to extract
I am developing an iPhone app which needs Facebook to be integrated to my
I successfully integrated inapp purchase in my application. But I left with a doubt
The following code runs successfully with no errors, but I still don't get the
last week, I integrated successfully twitter with my small rails app. If I create

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.