Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The status bar can be rotated after KVNProgress has been used #102

Open
PlayingXR opened this issue Mar 8, 2017 · 1 comment
Open

The status bar can be rotated after KVNProgress has been used #102

PlayingXR opened this issue Mar 8, 2017 · 1 comment

Comments

@PlayingXR
Copy link

PlayingXR commented Mar 8, 2017

The KVNProgress is very good,
I support the direction of the project protrait and landscape lete and landscape right,but i set it can not to rotate in my BaseViewController,the status bar is can not be rotate now,
BaseViewController.m
- (BOOL)shouldAutorotate { return NO; }

after that

[KVNProgress showWithStatus:@"logining..."]; ... [KVNProgress dismiss];
the status bar can be rotated,
can you help me? Thank you vary much.

@PlayingXR PlayingXR changed the title My status bar was can be rotate after use KVNProgress The status bar can be rotated after KVNProgress has been used Mar 8, 2017
@PlayingXR PlayingXR reopened this Mar 8, 2017
@PlayingXR
Copy link
Author

I used this method to solve the problem. :)
[KVNProgress showWithStatus:@"logining..." onView:self.view.window];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant