status


UIStatusBarStyleBlackTranslucent does not work in iOS 6


In iOS 6:
[[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation:UIStatusBarAnimationNone];
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleBlackTranslucent];
The status bar is shown in black, it is not in 0.5 alpha.
How to set the status bar to UIStatusBarStyleBlackTranslucent in iOS6 please?
If you are using storyboards, make sure that you tick "Wants Full Screen" in your view controllers. That will size your views so that it goes under the translucent status bar.
It looks like Xcode 4.5.2 is creating new view controllers in Storyboards with "Wants Full Screen" unchecked.
This code:
#ifdef __IPHONE_7_0
# define STATUS_STYLE UIStatusBarStyleLightContent
#else
# define STATUS_STYLE UIStatusBarStyleBlackTranslucent
#endif
[[UIApplication sharedApplication] setStatusBarStyle:STATUS_STYLE animated:YES];

Related Links

Byobu custom status notifications are separated by two spaces
When does PL080 DMAC generate error interupt?
When i send a ZPL command to Zebra printer via serial port, it will return a message or not?
How can I get storm topology status via java code?
What does Ollydbg termination code 0 and 1 means?
How to find execution status of a service on Remote computer?
meaning of kannel status
UIStatusBarStyleBlackTranslucent does not work in iOS 6
DATASTAGE : Job status information for all jobs on DataStage 7.5
PSI - Statusing Web Service - Results not as expected
How to get skype status as number or text? mystatus.skype.com doesnt work
yahoo messenger status checker code?
a4j:commandLink working intermittently
Redmine, can't see new Issue Status
Is there a simple app for pinging a list of websites?
What is the most useful information to display at the front of the office?

Categories

HOME
pandas
google-chrome-extension
winforms
oracle11g
reserved
google-play
electron
cplex
xmpp
microservices
jgroups
angular-ui-bootstrap
windows-server
convolution
applepay
google-translate
reveal.js
midi
row
handsontable
quickfix
hapi
serverless-framework
workload-scheduler
google-cloud-speech
facebook-instant-articles
mmap
format-specifiers
buildbot
django-storage
poltergeist
neo4j-spatial
xacml
dbclient
jspm
madlib
skia
.net-4.0
jspresso
fog
column-family
calibre
uiswipegesturerecognizer
catalog
host
suricata
devextreme
vxworks
restlet
ansible-playbook
temporary-files
email-templates
ruby-on-rails-3.1
vao
modelmapper
dotcover
errordocument
nodebb
windows-iot-core-10
gnome-shell-extensions
background-service
abcpdf9
adxstudio-portals
etsy
storekit
react-native-listview
sigabrt
yaws
revolution-r
natvis
spim
intel-fortran
google-places
pundit
rgeo
twirl
apache-commons-fileupload
apache-commons-net
code-access-security
has-many-through
funcunit
poller
undefined-reference
jboss-weld
oracle-warehouse-builder
monomac
gnu-smalltalk
easy-install
anonymous-methods
broken-links
first-responder
php-parser
external-accessory
xtype
sef
ctp4
mtj
sector

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