javascript - Is it possible to fire up a pop up like windows from a UIWebView? -


how can make uiwebview's html/javascript trigger uimodalview show on page load?

you can use 1 of following delegates catch page before loads:

- (void)webviewdidstartload:(uiwebview *)webview; - (bool)webview:(uiwebview *)webview shouldstartloadwithrequest:(nsurlrequest *)request navigationtype:(uiwebviewnavigationtype)navigationtype; 

you can check url being loaded with:

[[[webview request] url] absolutestring]; 

then create , show uimodalview.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -