iOS App: Automatic WebView iFrame height based on content

Job ID: 35459990

Budget: $30 – $50 USD

Hi!

Please retrieve the project
https://github.com/svghx/wk

It shows an iFrame which contains a social media post. The job target is: Develop a mechanism that will auto-size the iFrame in the web view as such that the full content of the iFrame is visible. The solution will be applied to various other kinds of contents.

IMPORTANT: There should be a slight margin before and after the view showing e.g. a social media post.
The social media post webview shall not overlap any text before or after it. The space before and after it should always be the same, independently of the length of the social media post.
That means (see attached screenshot): The @ and # need to remain visible, the spacing before and after the social media post need to remain static.

The demo should include showing a dynamic webview sizing with full visibility of the social media post with different post examples (included in the sample project as referred above).
Related categories: Mobile App Development iPhone HTML Swift