ios


UIImagePickerController hiding status bar iOS 8


I want the status bar hidden in my app. In my pList I have set:
Status Bar is initially hidden - YES
View controller-based status bar appearance - NO
This works fine until I present an UIImagePickerController. It wants to show the status bar. So in willShowViewController for the navigationController delegate I call [[UIApplication sharedApplication] setStatusBarHidden:YES]. This does in fact hide the status bar but there is a shifting like an animation in the navigationController. I've spent some time trying to stop this animation. Anyone have any ideas how to stop it? Thanks.
Try it
[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone];
Subclass UIImagePickerController and define prefersStatusBarHidden method, return YES if you want to hide a status bar.
It turns out that this a bug in iOS 8. I filed a radar bug and Apple suggested I try the beta 8.3. With the beta I no longer see the animation.

Related Links

Swift - return variable from within closure
CoreData: Observing Property Changes Behaves Differently
App sometimes crashed on start
How can I avoid the preview of password UITextField? [duplicate]
How to change background color of UIWebBrowserView in UIWebView in iOS8 Objective C
Store a variable in a conversation in iMessage Apps
IOS 10 UIImagePickerController Delegate Not Being Called
Podfile not downloading latest Swift 3 version of pods
Navigation Controller Shows Root View in Any Case
MKPolyline displays artifact/pixelation on map after zoom-in
Custom UITableViewCell isn't released or reused after navigation, memory leak
How to load image from camera or photo library in Swift [closed]
Query Session class with cloud code Parse
Best practice for when to call requestAccess on EKEventStore
Swift 3: Passing Data Forward Doesn't Work/Crashes
How do I use NSKeyedArchiver and NSKeyedUnArchiver in Xamarin iOS?

Categories

HOME
codeigniter
mocking
groovy
performance-testing
crf
chronicle
turing
oracle-adf
sony
py.test
activerecord
cross-compiling
doorkeeper
higher-order-functions
session-cookies
openmodelica
nservicebus
editor
avr
export-to-excel
libssh
watchservice
jquery-selectors
spring-boot-admin
flow
nsmutableattributedstring
datamatrix
hough-transform
eonasdan-datetimepicker
weather-api
grouping
x-sendfile
temp
kprobe
skyscanner
django-users
jtapi
machine-language
haxm
powerbuilder-conversion
bits
es6-promise
jquery-masonry
xbrl
abbyy
maven-versions-plugin
harvest-scm
zenity
kombu
informatica-cloud
hapi.js
git-config
printscreen
xnamespace
sqlfiddle
kernighan-and-ritchie
android-location
enhanced-ecommerce
ios-frameworks
screen-capture
illegalstateexception
asp.net-authorization
coldfusion-10
xirr
push-api
axlsx
xsb
user-registration
avalonedit
odoo
easynetq
zim-database
openxls
swift-array
isql
repaint
android-menu
subdirectory
spread-toolkit
mouseenter
b2b
angularjs-google-maps
android-c2dm
transport-stream
emitmapper
nsimageview
impdp
slimbox
square-cube
vote
guvnor
nextpeer
force.com
jscience
ondraw
dired
jammit
openfeint
apache-config
indextank
markitup
iphone-sdk-3.1
development-machine
shareware
ants

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