開発, iPhone, Objectiv-c | 17:28ボタンの種類みための違いは、4種類 //ボタンの作成 - UIButtonTypeRoundedRect UIButton *button1 = [UIButton buttonWithType:UIButtonTypeRoundedRect]; [button1 setTitle:@"button1" forState:UIControlStateNormal]; [button1 sizeToFit]; button1.frame = CGRectMake((self.view.frame.size.width - button1.frame.size.width)/2, 30, button1.frame.size.width, button1.frame.size.height); [self.view addSubvie