Skip to content

LMEmbeddedViewController seems to always reset the preferredStatusBarStyle #46

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;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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