card.io-iOS-SDK
card.io-iOS-SDK copied to clipboard
Status bar getting hidden before CardIO view controller is being presented
The keepStatusBarStyle setting does nothing for my app. The status bar gets hidden before the CardIO controller is presented every time. It makes for a jumpy presentation transition..
I'm seeing this too. I even subclassed the view controller and overrode the statusbar-related methods and it made no difference.
It looks like CardIOViewController
is hiding the status bar. It's got a property to control whether the status bar is hidden, but the property is always YES
, and it completely ignores the keepStatusBarStyle
property. It looks like this property only works for pre-iOS 7.
yes the status bar is jumping when open CardIOViewController any fix ?
It's not a card.io bug.
Use cardIOVC.modalPresentationStyle = .overFullScreen
and statusbar won't hide.
For more information look at https://stackoverflow.com/a/40097857/4420355
Worked for me.
That may be a workaround, but it's still a card.io bug.
Hmm... I can't agree. When you will have a look here you find a bunch of different presentationstyles. Independent of card.io you will get different results with statusbar or without. I can't see the bug.