Encore PTL
Encore PTL

Reputation: 8214

How to change the status bar color when opening MFSideMenu

When I open the MFSideMenu the status bar doesnt change color to black and the text color to white in iOS7. I have set UIViewControllerBasedStatusBarAppearance to YES and NO and both dont change the status bar color.

enter image description here

Upvotes: 1

Views: 939

Answers (2)

Tran Trung Hieu
Tran Trung Hieu

Reputation: 191

You can check out code at: https://github.com/ryuichisaito6/MFSideMenu/commit/50bc3c1a5eec0dfb3c97621dd0f43f6e0ac70a20 "Darken status bar background color when side menu opens"

Upvotes: 1

pawel_d
pawel_d

Reputation: 487

I have a similar problem. I did a little workaround by adding 20px light gray view at the top of right view controller. It is not a solution but looks better.

Upvotes: 1

Related Questions