On 08 Apr 2015, at 22:24, Juanjo Conti <jjco...@carouselapps.com> wrote:
> Hi! I'd like to use a WebView instance to handle a multi-tabs browser-like
> desktop app. Is it possible using only one WebView instance? Or should I
> need to use once per tab?
You'll want to use one per tab. You could put the web view as a *peer* (not a 
sub view) above the tab view and react to clicks in it, but you'd have to 
re-load the page on each tab switch which has issues:

- It's slow
- It doesn't work for form result pages as then they would be sent twice (for a 
store page this could cause two orders to be sent instead of one)

So having separate web views for the tabs is the safer approach.

-- Uli
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to