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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T15:46:59+00:00 2026-06-14T15:46:59+00:00

I´m trying to open an URL with UIApplication, but when I run: [[UIApplication sharedApplication]

  • 0

I´m trying to open an URL with UIApplication, but when I run:

[[UIApplication sharedApplication] canOpenURL:urlToUpdate

The url is created with a String and

NSString *urlStringToOpenEscaped = [urlStringToOpen stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];

NSURL *urlToUpdate = [NSURL URLWithString:urlStringToOpenEscaped];

Always returns FALSE.

I checked the URL is accessible from the iPad.

Any idea?

  • 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-06-14T15:47:00+00:00Added an answer on June 14, 2026 at 3:47 pm

    The canOpenURL method is not meant to be used in order to test if a network url is reachable. According to the documentation:

    This method guarantees that that if openURL: is called, another
    application will be
    launched to handle it. It does not guarantee that the full URL is valid.

    So, it’s a way of knowing if the resource specified by the url passed to the method, can be accessed/opened by an application on the system.

    If you want to check whether a web address is reachable or not you’ll have to execute the request and then handle the result in the response.

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

Sidebar

Related Questions

i'm trying to open an url http://الاعلي-للاتصالات.قطر/ar/news-events/event/future-internet-privacy with the urllib2.urlopen but it reports always
I am trying to handle UIApplication Notifications to get URL Schemes in current open
I am trying open a new window using url.Action. And the new Window url
I'm trying the open a relative path in Ubuntu , but after opening the
I'm trying to open a zip file with jython using FileInputStream and ZipInputStream. But
i am trying to open a url ( http://c22.smaato.net/oapi/lp.jsp;jsessionid=E253E547A55290CA553F493659433DBF.c22 ) on a button through
I'm trying to format a URL string however it's saying there are too many
I'm trying to open multiple URL's input streams, here's my current code FileInputStream fi
I'm trying to open a prezi.com presentation from my app. NSURL *url = [
I'm trying to open a URL in a new tab, as opposed to a

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.