ios


Status Bar is pushing down view content, only when app is launched with In-call status bar activated


So I have some weird behaviour here. I have a basic iOS app coded in Swift. It's using a WKWebView along with a few other small features.
One major problem at the moment is the 'In-call Status Bar'. If I toggle the in-call status bar while the application is open, it looks perfectly fine:
Although if I toggle the in-call status bar before I open the application and then run it, the layout goes all weird:
Along with toggling the status bar to 'off', it then goes even weirder (20px of white space at the top):
The issue was happening even when the in-call status bar was toggled while the application was open, although I fixed this (hence the first image looking fine) with this simple one-liner:
webView.autoresizingMask = [UIViewAutoresizing.FlexibleWidth, UIViewAutoresizing.FlexibleHeight]
How can I get my webview to accomodate for this, even when the application is open while a call is activated?

Related Links

how to set alpha on Backgroung image using Swift
Livecode revdberr invalid database connection
How to sort an array which contains objects with chars and decimals? [duplicate]
Set the selected Cell without pushing to new viewController
Page view constraints bug
How to rotate and crop iOS CGImage from file
How do I get the value of a UITextfield as characters are being typed in real time?
Any one Know ?? how to get router ip address from mac and iPhone? [closed]
What means iOS Xcode plist warning?
Deleting NSUserdefault Array from a UITableView
how to remove view from superview in apple watch / watchkit in swift
Identifying the trigger of iOS Remote notifications callback
Linker command failed, cannot find library in existing project
Stop all the functions when changing Viewcontroller
iOS & Parse Push Notification - iPhone 5s/c
Flick a UIScrollView programmatically

Categories

HOME
flutter
common-lisp
whatsapp
x-editable
android-sqlite
bolt-cms
fonts
typeahead.js
bootstrap-selectpicker
redhat
stripe-payments
httpbuilder-ng
mvvm-light
payment-processing
silverlight
superfish
nservicebus
deserialization
plots.jl
android-dialogfragment
data-annotations
lazy-loading
w2ui
api-design
durandal-2.0
drupal-commerce
nsmutableattributedstring
google-finance
nested-set-model
amazon-cloudfront
regex-group
iar
effects
paket
launchpad
dapper-fastcrud
clappr
pmd
gecko
skyscanner
codeskulptor
edit-distance
mask
joe-editor
uitabbarcontroller
internet-explorer-10
gradle-tooling-api
maven-jetty-plugin
ase
mobile-browser
asyncsocket
infiniband
kony
view-source
column-oriented
haste
callkit
lapply
vs-2015-preview
blocking
sound-synthesis
xpdf
ellipsis
menustrip
angularjs-filter
groupbox
screen-capture
genetic
fab
coldfusion-10
quasar
many-to-one
spinach
telescope
structured-programming
size-t
min3d
reactive-cocoa-3
conditional-statements
kue
cvs2git
mpj-express
bessel-functions
bonecp
dataformat
delphi-2009
git-gui
google-chrome-frame
python-dateutil
word-2010
doophp
datakey
mysql-backup
rpn
onmouseout
android-actionmode
sticky-footer
noindex
obout
ember-router
demoscene
orthographic
xml-database
msn-messenger
non-relational-database
anemic-domain-model

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App