Reputation: 41
I need to call objective C code when ever the DOM changes (highlighting happens using JavaScript) from JavaScript code. Is this possible?
I cannot use the delegate
shouldStartLoadWithRequest:
as it is never called when the DOM is changed. And I do not want to do a hard refresh either.
Upvotes: 1
Views: 130
Reputation: 1753
You might want to introduce a communication bridge between iOS and javascript. Check this out iOS JavaScript bridge
Upvotes: 1