Hi everyboy, I am using jqplot(javascript library) for charting in my iphone application. I can load pie-chart on webview successfully. But I want to call obj c viewcontroller based on value changes in javascript (value will be changed when on-click event fired on the different portion of the piechart). I dont know how to do that. please tell me how to go ahead.
                
                A: 
                
                
              
            You can't. Just about the only method for communication from Javascript to Objective-C is to set a special URL in window.location and detect that URL in the shouldStartLoadWithRequest method in your UIWebView delegate.
                  grahamparks
                   2010-09-16 09:06:24