I have webview.
Now I want to add a subview to it. I added it using addsubview method.
The view got added, but did not scrolled with webview.
I want my subview to be scrolled with the webview.
How can I do that?
Regards, Akshay.
You simply need to add your subview to the UIScrollView
of the UIWebView
like this to have your subview scroll with the webview content:
[webView.scrollView addSubview:youSubView];