background alert ios color black radial

Completed Posted Dec 1, 2015 Paid on delivery
Completed 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;

}];

}

iPhone Mobile App Development Objective C

Project ID: #9017364

About the project

5 proposals Remote project Active Dec 3, 2015

Awarded to:

shaqir29

A proposal has not yet been provided

€23 EUR in 1 day
(0 Reviews)
0.0

5 freelancers are bidding on average €19 for this job

raza012333

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

€14 EUR in 1 day
(19 Reviews)
5.9
iSolutionsApps

A proposal has not yet been provided

€24 EUR in 1 day
(16 Reviews)
4.3
iMAD5

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.

€13 EUR in 1 day
(0 Reviews)
0.0