-
Notifications
You must be signed in to change notification settings - Fork 573
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
Changing CLImageEditorTheme properties don't affect style #219
Comments
I bumped into this too. CLImageEditor is not setting the navigation bar color. In the _CLImageEditorViewController.m file, there is a method named -(void)initNavigationBar. Find the line that reads _navigationBar = navigationBar; Immediately after that, I used the following code to set the nav bar color using the toolbarColor from the theme. Not perfect, but it worked. _navigationBar.barTintColor = [CLImageEditorTheme theme].toolbarColor ; |
Changing CLImageEditorTheme properties don't affect style
[CLImageEditorTheme theme].backgroundColor = [UIColor blackColor];
[CLImageEditorTheme theme].toolbarColor = [UIColor blackColor];
[CLImageEditorTheme theme].toolbarTextColor = [UIColor blackColor];
CLImageEditor *editor = [[CLImageEditor alloc] initWithImage:image];
editor.theme.backgroundColor = [UIColor blackColor];
editor.theme.toolbarColor = [UIColor blackColor];
editor.theme.toolbarTextColor = [UIColor blackColor];
editor.delegate = self;
[picker presentViewController:editor animated:YES completion:nil];
No success, still showing white Top Bar with 'Back' and 'OK' on any filter press.
The text was updated successfully, but these errors were encountered: