• 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
Re: Implement multi-tabs with WebView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Implement multi-tabs with WebView (From: Juanjo Conti <email@hidden>)

  • Prev by Date: Re: Finder not responding to [NSRunningApplication activateWithOptions]
  • Next by Date: Re: UITextView doesn't change the text in iOS 8.2(12D508)
  • Previous by thread: Re: Implement multi-tabs with WebView
  • Next by thread: Where is kUCHighSurrogateRangeStart in Swift 1.2
  • Index(es):
    • Date
    • Thread