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

  • Home
  • SEARCH
  • 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 8384417
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:24:08+00:00 2026-06-09T17:24:08+00:00

A general question on UIWebViews. I have a single webview in my app. There

  • 0

A general question on UIWebViews. I have a single webview in my app. There are buttons on the left which simply load up different URLs into the webview.

Are there any ill consequences to loading a new URL into the webview without [webview stopLoading] the previous request first?

For example, this flow could happen:

  1. User presses button1 to load urlA into the webview
  2. While urlA is still loading, user presses button2 to load urlB into the webview

But would this better?

  1. User presses button1 to load urlA into the webview
  2. While urlA is still loading and user presses button2 for urlB
  3. First call [webview stopLoading], then proceed to load urlB.

Are there any best practices for such a scenario? Does it matter either way?

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-06-09T17:24:10+00:00Added an answer on June 9, 2026 at 5:24 pm

    According to the documentation, stopLoading has to be called before the view is going to disappear or be destroyed. This implies that an asynchronous event would just survive, potentially causing havoc.

    However, no mention is made of your scenario. I would still call stopLoading just do be on the safe side. If the loading property of the web view is NO, this method simply does nothing.

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

Sidebar

Related Questions

I guess my general question which I googled to no luck: Is there a
I have a general question about interpreters of functional languages: Are there actually any
I have general question related to UITableview in IOS. I have a UITableview which
general question is i like to build logger class that writes to single log
I have a general question on the class definition and its use..THe below code
i have a general question : i'd like to develop a facebook application using
I have a general question about the new Django 1.3 static file framework. I
I have a general question about inheritance in the .NET framework, lets say you
This is a general question about writing web apps. I have an application that
I have a general question about DB synchronisation. So, I'm developing a website locally

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.