• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to cancel a NSURL action
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to cancel a NSURL action


  • Subject: How to cancel a NSURL action
  • From: Marc Laffitte <email@hidden>
  • Date: Wed, 31 Oct 2001 20:28:40 +0100

Hi!

I am using the loadResourceDataNotifyingClient message of NSURL.
This works fine but I don't know how to cancel this action.

If the user is connected via PPP and modem to the internet and has automatic connection activated, and if for any reason the connection does not work, the systems displays alert boxes asking for password or whatever is needed. The user can cancel. But it look like that the request remains pending and the system redisplays those alert boxes again and again. Until I quit my application.
If the user is downloading a big file, or if for whatever reason the downloading process takes time, it would be also nice for him to have the possibility to cancel. What I do is to use a helper app for downlod which I quit if the user cancels... Not very elegant!

Thanks for any ideas,
Marc


  • Prev by Date: NSString drawAtPoint is not NSTimer safe ?
  • Next by Date: How to cancel a NSURL action
  • Previous by thread: NSString drawAtPoint is not NSTimer safe ?
  • Next by thread: How to cancel a NSURL action
  • Index(es):
    • Date
    • Thread