self.passwordLabel.layer.borderWidth=1;
self.passwordLabel.layer.cornerRadius=6;
self.passwordLabel.layer.borderColor=[UIColor colorWithRed:188/255.0 green:190/255.0 blue:197/255.0 alpha:1.0].CGColor;
self.loginBtn.layer.borderWidth=1;
self.loginBtn.layer.cornerRadius=6;
self.loginBtn.layer.borderColor=[UIColor colorWithRed:188/255.0 green:190/255.0 blue:197/255.0 alpha:1.0].CGColor;
[self.loginBtn setTitleShadowColor:[UIColor blackColor] forState:UIControlStateNormal];
[self.loginBtn setTitleShadowOffset:CGSizeMake(1, 1)];
转载于:https://my.oschina.net/u/554046/blog/533554