Closed kronik closed 10 years ago
Hi. Thanks for reporting. I've never seen this issue.
What do you think is the difference between your code and demo app?
i think he put his navigation bar translucent = NO to tint it. and it move the layout little bit.
thanks. I'll check it.
I found a reason:
in the app delegate I set non-transparent navigation bar image:
CGRect rect = CGRectMake(0, 0, 1, 1);
// Create a 1 by 1 pixel context
UIGraphicsBeginImageContextWithOptions(rect.size, NO, 0);
[[UIColor blueColor] setFill];
UIRectFill(rect); // Fill it with your color
UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
[[UINavigationBar appearance] setBackgroundImage:image forBarMetrics:UIBarMetricsDefault];
looks like i had a reason :P
This issue has been fixed probably in develop branch. you can check with cocoapods:
pod 'CLImageEditor', :git => 'https://github.com/yackle/CLImageEditor', :branch => "develop"
How to set background color,image to the editor. I mean white screen doesn't look nice in some cases. Or specifically in my case. :)
[[CLImageEditorTheme theme] setBackgroundColor:[UIColor blackColor]];
for example. see CLImageEditorDemo.
thanks alot, sure I will
Hi! I tried to use this editor in iOS 7 with only status bar hidden mode. And it looks like something is wrong in layout. So when main toolbar hides and effect's toolbar appears it appears a bit upper (64px) than in your demo app. Could you help me to fix this issue?