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

Disable auto rotation for special method in swift?
How to hold queue execution until get response from web service API in Objective-C
How to set font sizes for different iPhone sizes? [closed]
Optimizing DrawRect: for a Snake sort of game
iOS 9 app lunch URL for 'Storage and iCloud Usage'
App Thinning Size Report reports totally different size then App Store size
Json Values Append Array but ViewDidLoad it seem Empty
Adding a Wizard style ViewController between two NavigationViewControllers in IOS
Run MQTT Broker in iOS
how to rotate image to a particular latitude and longitude in swift?
how to add json file in ActionRequestHandler safari extinction
How do I make a control on a reused custom UIView trigger actions only on the ViewController currently being viewed?
NSPredicate SUBQUERY with nested arrays iOS Objective C
What delegate method will be called on receiving a push notification if the app is in killed/Force closed (Not in background) state?
didReceiveMessage not called after unlocking the iPhone screen?
How to access source view that perform segue from within that segue or destination view controller?

Categories

HOME
lsf
clojure
whatsapp
google-search
lua
dicom
openshift-origin
varnish
graylog2
sql-server-2012
garbage-collection
prometheus
phpmailer
sqlconnection
higher-order-functions
google-cloud-sdk
cloudrail
rebus
rgb
embed
jmespath
javers
ssrs-2008
powershell-v2.0
code-analysis
py4j
jqplot
bitcode
mathdotnet
nested-loops
angular-ngmodel
flatbuffers
webfocus
feedly
kube-dns
ollydbg
fipy
bem
using
tern
wp-api
invalidate
zuul
federation
website-hosting
domdocument
derbyjs
mspgcc
masm32
zbar
a-star
netbeans-7
bosh-deployer
iseries-navigator
manifoldcf
cabal-install
configuration-profile
coldfusion-11
ng-annotate
4d
submission
scrutinizer
jongo
intrinsics
mongolab
gcloud-java
uiswitch
trello.net
administrator
radix-sort
armv7
database-tuning-advisor
ubiquity
crosswalk
user-registration
translate3d
cbc-mode
scalariform
byte-order-mark
diagonal
declaration
iife
android-tablelayout
mysql5
laravel-validation
epoll
asf
bunny
pligg
zephir
chomsky-hierarchy
python-dateutil
neventstore
memento
jmdns
timespan
force.com
expression-encoder-sdk
livevalidation
demoscene
nscollectionviewitem
nstreecontroller
arraycopy
shareware
versant-vod
reference-library
user-testing

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