language: Objective-C
licence: Other
UIButton - Create a button
UIButton *button = [UIButton buttonWithType:UIButtonTypeRoundedRect]; button.frame = CGRectMake(130,100,75,30); [button setTitle:@"Push" forState:UIControlStateNormal]; [button setTitleColor:[UIColor blackColor] forState:UIControlStateNormal]; [self.view addSubview:button];



library
sharing (4)
combine names (0)