I'm building an app using OpenID, now I want to get access token, please go through this given link
http://www.stevesaxon.me/posts/2011//window-external-notify-in-ios-uiwebview
In that link javascript function is given
<script type=\"text/javascript\">
window.external =
{
'Notify': function(s) { document.location = 'acs://settoken?token=' + s; },
'notify': function(s) { document.location = 'acs://settoken?token=' + s; }
};
</script>
How to load this javascript in UIWebview
?