I want to customise all the textFields at once via AppDelegate , I had tested the customisation working on individual ViewControllers but when I add the customisation through AppDelegate then it does not appears. Please guide me for what have I missed :
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
UITextField.appearance().layer.borderWidth = 2
UITextField.appearance().layer.borderColor = UIColor(red:0.094 , green:0.737 , blue:0.612 , alpha:1).CGColor
return true
}