views:

35

answers:

1

hai good afternoon to everyone, i have developing i-phone web application. In my application i have load two web pages in single UIWebView. After this process completed one web page should hide or overlap others whenever they get the user-interaction, but i need that should not be, user-interaction also should remain so-far. please any one guide me....

A: 

Hi, You can't have two different webpages in one UIWebView. Instead, you should try to create two UIWebView objects and add them as a subview in a container view.

You can set these UIWebView objects' frame, userInteractionEnabled, hidden properties according to your needs.

Also, you should look at delegate methods of UIWebView. Those delegate methods are called when a page is finished loading or when there is an error exc. You can read the documentation to learn more about delegate methods: UIWebViewDelegate documentation

Behlül