Sunday, 19 September 2010

Objective-C methods from Javascript in Cocoa


hello!
have webview control in cocoa application showing web page. need access objective-c method javascript in html page shown in webview. have tried "calling objective-c methods javascript"
apple site "https://developer.apple.com/library/mac/#documentation/appleapplications/conceptual/safarijsprogtopics/tasks/objcfromjavascript.html". did not worked. pleases me call objective-c methods javascript.
 

the document post looks should you're wanting go. post code , tell happens. exposed object undefined in javascript? defined, methods expect not? methods defined there failure when try call them?

post code , more complete description of behavior , we'll glad help.

-lee
 


Forums Macs Mac Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

No comments:

Post a Comment