Button value
2016-08-23
0 0 0
no vote
Other
Earn points
Click on the audit function, the button value! Various background effect, achieving button shading!
Button = [UIButton buttonWithType:UIButtonTypeCustom];//button type button.frame = CGRectMake (applicationWidth/6*4.9, 20,applicationWidth/5.8, applicationHeight/16);// The frame button button.backgroundColor = [UIColor orangeColor];//button background color button.layer.cornerRadius = 3; [Button setTitle:@ "audit" forState:UIControlStateNormal];//sets the button's title button.titleLabel.font = [UIFont button.titleLabel.textAlignment systemFontOfSize:18];//title font size = NSTextAlignmentCenter;//sets the title font centered [button setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];//title in the General case for white font [button setTitleColor:[UIColor grayColor] ForState:UIControlStateHighlighted];//set title button is selected for a gray font [button addTarget:self action:@selector (buttonClicke
Button = [UIButton buttonWithType:UIButtonTypeCustom];//button type button.frame = CGRectMake (applicationWidth/6*4.9, 20,applicationWidth/5.8, applicationHeight/16);// The frame button button.backgroundColor = [UIColor orangeColor];//button background color button.layer.cornerRadius = 3; [Button setTitle:@ "audit" forState:UIControlStateNormal];//sets the button's title button.titleLabel.font = [UIFont button.titleLabel.textAlignment systemFontOfSize:18];//title font size = NSTextAlignmentCenter;//sets the title font centered [button setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];//title in the General case for white font [button setTitleColor:[UIColor grayColor] ForState:UIControlStateHighlighted];//set title button is selected for a gray font [button addTarget:self action:@selector (buttonClicke
objective-c
按钮
Related Source Codes
Selectedbutton can set buttons for selecting and p
0
0
no vote
AT24C16 Soft IIC Driver
0
0
no vote
Camera scanning Library
0
1
no vote
IOS AES/CBC/PKCS7Padding encryption and decryption
0
0
no vote
IOS custom input method
0
0
4.0
No comment