The only thing you have to do is to call a method and add it as subview in
your code
- (instancetype)initWithFrame:(CGRect)frame
configuration:(WKWebViewConfiguration *)configuration
NS_DESIGNATED_INITIALIZER;

It's max 3 minutes of work.


On Thu, Oct 1, 2015 at 3:00 AM, Alex Hall <[email protected]> wrote:

>
> > On Sep 30, 2015, at 17:35, Charles Srstka <[email protected]>
> wrote:
> >
> >> On Sep 30, 2015, at 4:28 PM, Jens Alfke <[email protected] <mailto:
> [email protected]>> wrote:
> >>
> >>> On Sep 30, 2015, at 2:20 PM, Alex Hall <[email protected] <mailto:
> [email protected]>> wrote:
> >>>
> >>> Thanks everyone. I'm now using WKWebView, but it's… odd. I see only
> WebView in the object library in Xcode, no WKWebView at all. Just because,
> I changed the class of a WebView object to WKWebView, but am now seeing my
> app launch, become unresponsive, and never actually do anything.
> >>
> >> Don’t change an IB object’s class to anything but a subclass of the
> normal class!
> >> If you need a WKWebView in a nib, drag out an NSObject and change its
> class.
> >
> > Or, more correctly, an NSView (labeled as “Custom View” in IB).
> >
> So I can be sure I'm correct: Apple wants everyone to use the new
> WKWebView class instead of WebView, but to use it, I have to build it from
> scratch? I'll look into it, but that seems an odd decision. Even in 7.1, I
> don't see WKWebView available in the Object Library.
>
> --
> Have a great day,
> Alex Hall
> [email protected]
>
> _______________________________________________
>
> Cocoa-dev mailing list ([email protected])
>
> 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/xhruso00%40gmail.com
>
> This email sent to [email protected]
>
_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to