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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T09:20:56+00:00 2026-05-15T09:20:56+00:00

I am just having a quick look at UIWebView and have written a small

  • 0

I am just having a quick look at UIWebView and have written a small browser with a back button, a UITextField and a forward button. Here is what happens:

  1. I enter “www.google.com” into the textField and it goes to the page.
  2. The textField says “www.google.com”
  3. I enter “www.apple.com” and it goes to the page.
  4. The textField says “www.apple.com”
  5. I tap the back button and return to “www.google.com”
  6. The textField still says “www.apple.com”

I have added:

-(IBAction)myGoBack {
    NSLog(@"myGoBack ...");
    [webView goBack];
}

My question is, is there a way when I call goBack to access the location that is loaded from the back-forward list so that I can update my UITextFiled?

Gary

  • 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-15T09:20:57+00:00Added an answer on May 15, 2026 at 9:20 am

    You can get the current URL from the UIWebView’s request property and set the address bar text like this

    - (void) webViewDidFinishLoad:(UIWebView *) webView {
        [addressBar setText:self.webView.request.URL.absoluteString];
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

just a quick question. I'm having a problem with divs with onclick javascript within
just a quick question about an issue I am having in vb. I need
Just a quick logical question. I have 2 Zend Controllers namely Merchant and Account.
Hi guys just a quick question, After having a nightmare trying to get an
I was just having a quick read through this article (specifically the bit about
I just set up a quick example of a issue I am having trouble
Just a quick question, if I have a template class: template <typename T> class
I've just come back to R from a long hiatus writing and I'm having
I'm just having a play with Roslyn but unsure on how to do the
I'm completely new to Flex and am just having a play with a sample

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.