background alert ios color black radial
€8-30 EUR
Paid on delivery
----------------------hi, i have this code for background radial :-----------------------
size_t locationsCount = 2;
CGFloat locations[2] = {[url removed, login to view], [url removed, login to view]};
CGFloat colors[8] = {[url removed, login to view], [url removed, login to view], [url removed, login to view], [url removed, login to view], [url removed, login to view], [url removed, login to view], [url removed, login to view], [url removed, login to view]};
CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
CGGradientRef gradient = CGGradientCreateWithColorComponents(colorSpace, colors, locations, locationsCount);
CGColorSpaceRelease(colorSpace);
CGPoint center = CGPointMake([url removed, login to view] / 2, [url removed, login to view] / 2);
CGFloat radius = MIN([url removed, login to view], [url removed, login to view]) ;
CGContextDrawRadialGradient (context, gradient, center, 0, center, radius, kCGGradientDrawsAfterEndLocation);
CGGradientRelease(gradient);
------------------I want to add in this code:----------------------------
-(void)createBackgroundView
{
// Allocating controller for presenting MLTableAlert
MLTableAlertController *controller = [[MLTableAlertController alloc] init];
[url removed, login to view] = [[UIColor clearColor]];
[[url removed, login to view] addSubview:[url removed, login to view]];
[[url removed, login to view] makeKeyAndVisible];
// Creating new UIWindow to manage MLTableAlert and MLTableAlertController
//[url removed, login to view] = [[UIColor whiteColor] colorWithAlphaComponent:0.4];
[url removed, login to view] = controller;
[url removed, login to view] = 0.0;
[url removed, login to view] = UIWindowLevelStatusBar;
[url removed, login to view] = NO;
//[[url removed, login to view] addSubview:selectorView];
//[[url removed, login to view] makeKeyAndVisible];
// Adding MLTableAlert as subview of MLTableAlertController (controller)
[[url removed, login to view] addSubview:self];
// setting options to MLTableAlert
[url removed, login to view] = [url removed, login to view];
[url removed, login to view] = YES;
// get background color darker
[UIView animateWithDuration:0.3 animations:^{
[url removed, login to view] = 1.0;
}];
}
Project ID: #9017364
About the project
Awarded to:
5 freelancers are bidding on average €19 for this job
Hi, CapBoX studio is interested in working on your ideas. We have a team of Mobile developers both iphone and android. Lets discuss the project and finalize the requirements in official way. Regards CapBoX S More
Hi , I have resolved many such UI related issues. So i think i can find you the solution for it. interested in working on such challenges.