UIButton按钮用法:
UIButton *goButton = [UIButtonbuttonWithType:UIButtonTypeRoundedRect];//UIButtonTypeRoundedRect **
[goButtonsetTitle:@"Go!"forState:UIControlStateNormal];
[goButtonsizeToFit];
[goButtonsetFrame:CGRectMake([viewframe].size.width-[goButtonframe].size.width+10,7,[goButtonframe].size.width,[goButtonframe].size.height)];
/*
点击按钮触发事件
*/
[goButtonaddTarget:selfaction:@selector(performLargeUpload2:)forControlEvents:UIControlEventTouchUpInside];
[viewaddSubview:goButton];