|
The initial load of the webView works as advertised, yet any subsequent webView page load overruns the Navigation Bar regardless of website (a couple added and order moved around) or Simulator device selected. I've run through every option available in the IB Attributes Inspector for the Navigation Bar with no effect on the overrun. In all other aspects the program is running correctly, all buttons, function calls etc operating properly. No XCode warnings and builds all working. I can attach relevant code if that would help. What am I missing? |
|
I haven't tried it myself, but theoretically constraining WKWebView to safe areas should work. As far as I remember view is not constrained there in storyboard so it takes all space available. UPD: Confirmed by using this code.
|
|
|
|
To fix the issue we need to understand what is happening on the screen. I don't know the level of your knowledge of UIKit so I will try to encompass as much as possible. So let's start with Paul's example.
So taking into consideration all the above we can conclude the following. Paul, by using How we can fix that (One of many solutions)
Hope this make sense now. |
|
SPONSORED Get accurate app localizations in minutes using AI. Choose your languages & receive translations for 40+ markets!
Sponsor Hacking with Swift and reach the world's largest Swift community!
This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.
All interactions here are governed by our code of conduct.
Link copied to your pasteboard.