card.io-iOS-SDK icon indicating copy to clipboard operation
card.io-iOS-SDK copied to clipboard

Status bar getting hidden before CardIO view controller is being presented

Open jakedunc opened this issue 8 years ago • 6 comments

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..

jakedunc avatar Apr 21 '16 10:04 jakedunc

I'm seeing this too. I even subclassed the view controller and overrode the statusbar-related methods and it made no difference.

lilyball avatar Aug 16 '16 19:08 lilyball

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.

lilyball avatar Aug 16 '16 19:08 lilyball

yes the status bar is jumping when open CardIOViewController any fix ?

AymenFarrah avatar Dec 07 '17 16:12 AymenFarrah

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.

kuzdu avatar Dec 18 '17 14:12 kuzdu

That may be a workaround, but it's still a card.io bug.

lilyball avatar Dec 18 '17 18:12 lilyball

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.

kuzdu avatar Dec 18 '17 20:12 kuzdu