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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T22:09:01+00:00 2026-05-25T22:09:01+00:00

In my code, I need to determine if an app has been installed on

  • 0

In my code, I need to determine if an app has been installed on the iphone device or not (the app I need to check is Square). If the app isn’t installed, I would to open the app directly to Square, and if it is installed, I would like to open Square. Is there a way to do this? I checked out this discussion: iphone – Check if an app is installed , but wasn’t able to work it out. Since I was not a developer of Square, where do I get the information about the URL scheme?

Thanks.

  • 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-25T22:09:02+00:00Added an answer on May 25, 2026 at 10:09 pm

    It doesn’t necessarily HAVE a scheme. The developers would have had to do that, and to have a reason to support incoming URLs. I don’t know whether they’ve done that, or if they’ve documented it, or anything.

    Assuming there’s no documentation, then you can stab at it and see what you get. If you’ve got a guess at the scheme (“square:”, perhaps?) you can test it with the canOpenUrl method of UIApplication:

    UIApplication *app = [UIApplication sharedApplication];
    if ([app canOpenURL:[NSURL URLWithString:@"square:"]]) {
        NSLog(@"found it!");
    }
    

    If “square:” is a URL scheme that any app on the device has declared, this code will tell you so in the console.

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

Sidebar

Related Questions

I need to write code to determine if 2 strings match when one of
My company has been evaluating Spring MVC to determine if we should use it
In my app I need to check the roles for the loggind user to
In my iPhone app I need to detect the current orientation and I have
I would like to determine the current orientation of the device in a WP7
Both my Rails model and controller code need to write files to the file
I need code in Perl for requesting and parsing ATOM and RSS feeds. Is
In my code I need to compare string letters but my problem is that
I have a code that need to be translated from C to Cpp, and
i have the following code ..i need to loop through end of the file

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.