Re: Implement multi-tabs with WebView
Re: Implement multi-tabs with WebView
- Subject: Re: Implement multi-tabs with WebView
- From: Uli Kusterer <email@hidden>
- Date: Thu, 09 Apr 2015 12:33:16 +0200
On 08 Apr 2015, at 22:24, Juanjo Conti <email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden