My UIWebView
is set up with a fixed position header.
Everything works seamlessly when the initial view of the ViewController
containing the UIWebView
is displayed.
However, if I present that same ViewController
using a Modal segue, an issue arises.
When I first scroll on the page, the divs shift and scroll along with the content. But as soon as I stop scrolling for the first time, the div snaps back to its fixed position, and the problem never reoccurs.
Any suggestions? While I've looked into iScroll
, it doesn't quite fit the functionality I'm seeking for the page. I believe there must be a simpler solution, especially since the problem only occurs during the initial load of the UIWebView
...