Open NorbertSzydlowski opened 9 years ago
It is possible using gradient in this case?
EKEventEditViewController *controller2 = [[EKEventEditViewController alloc] initWithNavigationBarClass:[CRGradientNavigationBar class] toolbarClass:nil]; UIColor *firstColor = [UIColor colorWithRed:255.0f/255.0f green:42.0f/255.0f blue:104.0f/255.0f alpha:1.0f]; UIColor *secondColor = [UIColor colorWithRed:255.0f/255.0f green:90.0f/255.0f blue:58.0f/255.0f alpha:1.0f]; NSArray *colors = [NSArray arrayWithObjects:firstColor, secondColor, nil]; [[CRGradientNavigationBar appearance] setBarTintGradientColors:colors]; [[controller2 navigationBar] setTranslucent:NO];
It is possible using gradient in this case?