I have added a UIWebView
along with some labels inside UIScrollView
(using StoryBoards
) by adding it as a subview
and then setting the ScrollView height
to show all the html content of WebView
that is loaded in it using loadHtmlString
.
The links in the html content are not working. A little searching revealed that Apple does not recommend putting UIWebView
inside UIScrollView to avoid unexpected behaviour. But as i also have to add labels and other stuff other than the UIWebView
, so i have to embed them inside UIScrollView
.
Is there any way I can make the links work in the html content without violating and Apple's recommendation?