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 4234348
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T02:20:32+00:00 2026-05-21T02:20:32+00:00

How can I support game center for iOS 4 but still run app on

  • 0

How can I support game center for iOS 4 but still run app on iOS 3. So game center will available only on devices with iOS 4.

  • 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-21T02:20:33+00:00Added an answer on May 21, 2026 at 2:20 am

    You should make a weak link between gamekit framework and your app. You can make weak link with any framework in your project’s settings. Also check apple game kit programming guide for checking if game center is available. Basically it boils down to single function

    BOOL isGameCenterAvailable() {
        // Check for presence of GKLocalPlayer API.
        Class gcClass = (NSClassFromString(@"GKLocalPlayer"));
    
        // The device must be running running iOS 4.1 or later.
        NSString *reqSysVer = @"4.1";
        NSString *currSysVer = [[UIDevice currentDevice] systemVersion];
        BOOL osVersionSupported = ([currSysVer compare:reqSysVer options:NSNumericSearch] != NSOrderedAscending);
    
        return (gcClass && osVersionSupported);
    }
    

    as well as including GameKit/GameKit.h header file in your prefix.pch file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm adding Game Center support to my game. Because my game can run on
We are developing a game and want to support only retina iPhone devices for
An iPad app can support inclusion of launch images in both orientations; presumably, if
I'm building an iPhone game that supports Game Center (GC). When the app launches,
I'm thinking of adding GameKit support to my iOS game, and I'd like to
We create non-game programs that run on mobile devices; iPhones, Windows Mobile, Android, Palm
We are developing an IOS game and are using google-app-engine for backend. The users
As you know, OAuth can support RSA-SHA1 Signature. I have an OAuthSignature interface that
i need to update my application so it can support retina display in New
I am looking for a caching solution for java which can support query cache/indexing.

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.