On OSX (say Yosemite), I'd like a way to call Objective-C from Safari/javascript. Is there a way to do this?
Not what I'm looking for:
WebView
/ WKWebView
in an app No. There is no way to do this. The only interface to the client machine is the API which the browser provides.
I came across this reference. So the answer appears to be: yes if you are writing a plugin.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.