UIWebview handle popup view
- by Tuan Nguyen
I've a webpage with one text-box and one button. Click on button will show a popup for searching.
On popup page,has 2 buttons, "Search" and "Close". Input the text and click Search, the result will display on a list on this popup, click on a row will close the popup and fill the value to text-box on main-page.
On Destop browser, it works fine
On Safari on iPad, it will open new tab instead of a popup but work fine.
UIWebview in my app, on main-page, click the button, I will go to Search page, but when click Search button and close button, nothing happened, I know because 2 buttons will close the popup or the tab, but I don't know how to handle on my Webview, and also I can fill data to main-page or not?
Could anyone point me away?
Thanks,