Skip to content

LMEmbeddedViewController seems to always reset the preferredStatusBarStyle #46

@fitch

Description

@fitch

It seems that presenting the LMAlertView from a view with a view controller that sets preferredStatusBarStyle to UIStatusBarStyleLightContent will result in a status bar style reset back to UIStatusBarStyleDefault when the alert view is visible.

My workaround is now to implement preferredStatusBarStyle with a fixed return value to LMEmbeddedViewController.m:

- (UIStatusBarStyle)preferredStatusBarStyle
{
    return UIStatusBarStyleLightContent;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions