UIColor *bgcolour = [BackgroundLayer colorWithHexString:@"F13982"];
textField.layer.borderColor=[[UIColor colorWithCGColor:(__bridge CGColorRef)(bgcolour)] CGColor];
Can anyone say how to set the UIColor object "bgcolor" to the Textfield border?
textField.layer.borderColor= bgcolour.CGColor;