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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T00:09:36+00:00 2026-06-15T00:09:36+00:00

I have a URL.when i try to open it in browser, it will redirect

  • 0

I have a URL.when i try to open it in browser, it will redirect to another URL & display the Content. I want that content But i don’t get that redirected URL. So, I can’t able to display data.

How can i do that programmatically??

e.g. URL which i have : http://www.windpowerengineering.com/?p=11020

& the redirected URL is: http://www.windpowerengineering.com/design/mechanical/blades/bladeless-turbine-converts-wind-into-fluid-power/

I want this redirected URL. How can i get this?

  • 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-15T00:09:38+00:00Added an answer on June 15, 2026 at 12:09 am

    1) Specify that your class conforms to the UIWebViewDelegate protocol (and make sure your WebView’s delegate outlet is connected to your view controller):

    @interface YourWebsiteViewController : UIViewController <UIWebViewDelegate>
    

    2) Add the following delegate method:

    -(void)webViewDidStartLoad:(UIWebView *)webView
    {
        NSURL *url = [webView.request mainDocumentURL];
        NSLog(@"The Redirected URL is: %@", url);
    }
    

    Depending on what you’re trying to do with this information, you might want to substitute #2 for this method (which will allow you the opportunity to prevent a page from loading):

    - (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType
    {
        NSURL *url = [request mainDocumentURL];
        NSLog(@"The Redirected URL is: %@", url);
        // Return YES if you want to load the page, and NO if you don't.
        return NO;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have My Sharepoint Web Service URL, but when i try to access it
I have the following code: /** Open a browser on the URL specified in
I have a URL and I want to launch it in the default browser.
I want to have an image open from a URL to an intent, most
Hi i have tried so much to open custom app from url, but i
I have a program that has a help jmenuItem that will open the html
I have url http://www.domain.com/folder/?variable=1 i would like to do a mod redirect to index.cfm
& is a reserved character in html therefore everywhere I have url's pointing to
So I currently have a transparent JFrame that you can click through, but I
I have a URL that goes to a pdf file. In my coldfusion page,

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.