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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:55:09+00:00 2026-05-26T01:55:09+00:00

I have a problem now. I want to get wikipedia data using wikimeta. I

  • 0

I have a problem now. I want to get wikipedia data using wikimeta. I get the data with NSString methode (stringWithContentsOfURL:encoding:error:). But, sometime when the connection wa really slow, i want to cancel the process of getting URL data. But, when i use that methode, i can’t to stop the process because we can’t detect any touch to button or to UIView. Anyone can help me to resolf my problem? Any way to get data from URL and set it in UITextView so we can look the data in UITextView.

Thanx before. regards.

  • 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-26T01:55:10+00:00Added an answer on May 26, 2026 at 1:55 am

    If I understand your problem correctly, than you can’t press buttons because you perform the network connection on the main thread and this causes the UI to freeze.

    The correct way is to perform long actions on a background thread, and only perform UI operations on the main thread.

    NSURLConnection provides asynchronous methods that allow you to easily perform the actual fetching of data from the server on a background thread.
    You can read about how to use those methods on NSURLConnection Class Reference

    However, the concept of multithreading is extremely important and i would highly recommend that you read a little about it before starting to use asynchronous methods.

    You can read a complete guide on the apple documentation

    After you learn the basic concepts, i encourage you to read this tutorial. It uses ASIHTTPRequest which is an overkill for beginners, but the explanation of threading concepts there is very very good in my opinion.

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

Sidebar

Related Questions

EDIT : I have another problem..Now I want to get the cookies value...in controllers
I'm onto problem 245 now but have hit some problems. I've done some work
I'm matching identifiers, but now I have a problem: my identifiers are allowed to
i have againg a problem with completition. now i can't get any suggestion. Sure
I am using ajaxForm. Now I have encountered a problem. My idea is when
further to my previous question , I have a new problem now, I want
I have the following problem. I have this pretty class and now I want
I have a problem in PHP. I am using <input type=file> to get the
Friends, I have a problem, now I want to access an element with jquery
Since I have been mostly using script languages in the past time but now

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.