UIWebView content size resetting while come back from background

125 views Asked by At

I am using a UIWebView in my UIViewController.

After web-view finished loading i am programmatically added a UIButton in the bottom of UIWebView with extended ContentSize.

When the app enters background and comes back again, it seems as if the contentSize that i dynamically added was changed to the content size of UIWebView content.

Does anyone have an idea what I am missing here and/or why this happens? Thanks for your time!

Best Regards, Gison

0

There are 0 answers