Egil
Egil

Reputation: 73

UIWebView content with scrollable iframe

I have a html page with iframes where part of the page is scrollable while other parts are not.

Is there a way to display this in a UIWebView and allow scrolling these iframe sections? So far I see that only the entire page is scrolling.

Upvotes: 4

Views: 997

Answers (1)

subzero
subzero

Reputation: 3450

No, it's not possible. The UIWebView is composed by a UIScrollView, the content is rendered inside it.

So, basically what you want is to create an UIScrollView inside an UIScrollView. Dispatching the gestures will be a big challenge. Which one should scroll?

Upvotes: 1

Related Questions