Mailing Lists: Apple Mailing Lists

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

Re: Modal control



On Jun 24, 2004, at 7:08 AM, Mark Thomas wrote:

Are there any issues with using web control within a window, which is then
used in [NSApp runModalForWindow ], as I'm seeing that control doesn't seem
to come alive, as I have loaded in a URL fine.

Yes, there is an issue with doing that. NSURLConnection delivers data to the WebKit only in the standard run loop mode. A modal dialog runs in a different mode. The result is that the WebView doesn't get any data until you exit the modal run loop.


This is arguably a design flaw in NSURLConnection that we have to fix. Until that's done, there's no easy way to use a WebView in a window running with runModalForWindow.

    -- Darin
_______________________________________________
webkitsdk-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webkitsdk-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Modal control (From: Mark Thomas <email@hidden>)



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.