background alert ios color black radial

Ολοκληρωμένο Αναρτήθηκε Dec 1, 2015 Πληρώθηκε κατά την παράδοση
Ολοκληρωμένο Πληρώθηκε κατά την παράδοση

----------------------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

Ταυτότητα Εργασίας: #9017364

Σχετικά με την εργασία

5 προτάσεις Απομακρυσμένη εργασία Ενεργό Dec 3, 2015

Ανατέθηκε στον:

shaqir29

A proposal has not yet been provided

€23 EUR σε 1 μέρα
(0 Αξιολογήσεις)
0.0

5 freelancers κάνουν προσφορές κατά μέσο όρο €19 για αυτή τη δουλειά

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 Περισσότερα

€14 EUR σε 1 μέρα
(19 Αξιολογήσεις)
5.9
iSolutionsApps

A proposal has not yet been provided

€24 EUR σε 1 μέρα
(16 Αξιολογήσεις)
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 σε 1 μέρα
(0 Αξιολογήσεις)
0.0