0

Possible Duplicate:
Javascript in UIWebView callback to C/Objective-C

I have an application which has a UIwebView with and its delegate methods in that one URL has source like

button onclick="window.close();">Close Me

and when I click on that not any of delegate method called.

How can I get that button close me clicked?

Community
  • 1
  • 1
iBhavik
  • 663
  • 11
  • 28
  • 1
    Look at http://stackoverflow.com/questions/10843736/ios-close-uiwebview-using-javascriptwindow-close for a way of notifying the delegate. – Phillip Mills Nov 08 '12 at 12:13
  • That answer will help i guess, but i cant get how it use in my code, can u plz help for that ? – iBhavik Nov 09 '12 at 05:31

0 Answers0