 <pre><code>[super viewDidLoad]; // Do any additional setup after loading the view. UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom]; [button setImage:[UIImage imageNamed:@"aButton"] forState:UIControlStateNormal]; [button setImage:[UIImage imageNamed:@"aButton"] forState:UIControlStateHighlighted]; [button setFrame:CGRectMake(100, 100, 300, 100)]; [self.view addSubview:button]; </code></pre> <p>And do not forget the extention "aButton.png" "aButton.jpg"... </p>