juced | community based juce | Plugin library
kandi X-RAY | juced Summary
kandi X-RAY | juced Summary
community based juce
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of juced
juced Key Features
juced Examples and Code Snippets
Community Discussions
Trending Discussions on juced
QUESTION
I'm using WebKit in an OS X app via the JUCE WebBrowserComponent, a lightweight wrapper around Apple's WebView
Objective-C class.
I'm compiling on OS X 10.12 with a deployment target of 10.7.
The issue I'm having is that on OS X 10.8, the version of WebKit used by the WebView
seems to be different to that used by Safari and I can't figure out how the WebKit version is selected or why they are different.
Running otool -L
on Safari, gives me:
ANSWER
Answered 2017-Mar-10 at 08:25The current version that otool outputs is the version that was used to link when the app was build.
Safari, WebKit and everythingOn the latest macOS release Safari uses the system WebKit version. So macOS Sierra 10.12 with Safari 10 uses /System/Library/Frameworks/WebKit.
Safari also supports older macOS releases. And is updated independently from the system. For example Safari 10 runs on macOS 10.10, 10.11 and 10.12. Now macOS 10.11 was released with Safari 9, but when Safari 10 is installed it uses not the system WebKit. Instead a version in /System/Library/StagedFrameworks/Safari is used.
Why?
New major Safari versions not only add shiny new features, and bugs, they sometimes also remove things. Some ill faded -webkit prefixes come to mind. WebKit is part of the SDK which guaranties you that your app will not break on such updates.
TestingHere the version output of a test app from WebView and WKWebView:
macOS 10.8.5 (12F2560):
Safari Version 6.2.8 (8537.85.17.9.1)
WebKit Version 600.8.9Cocoa App
WebView WebKit Version 536.30.1
macOS 10.9.5 (13F1911):
Safari Version 9.1.3 (9537.86.7.8)
WebKit Version 601.7.8Cocoa App
WebView WebKit Version 537.78.2
macOS 10.10.5 (14F2009):
Safari Version 10.0.1 (10602.2.14.0.7)
WebKit Version 602.2.14Cocoa App
WebView WebKit Version 600.8.9
WKWebView WebKit Version 600.8.9
macOS 10.11.6 (15G1108):
AnswerSafari Version 10.0.1 (11602.2.14.0.7)
WebKit Version 602.2.14Cocoa App
WebView WebKit Version 601.7.8
WKWebView WebKit Version 601.7.8
It is not supported to link your app to the Safari WebKit version.
You could include your own WebKit build. But I think it's simpler to write your web code for the old version of your deployment target.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install juced
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page