Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to cancel a NSURL action



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




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.