iPhone Error when myButton is pressed
<p>I am getting an error message displayed below when my button is pressed. I do not yet have any code inside my "buttonPressed" method although I don't think that has anything to do with it?</p>

<p>Error Message: "terminate called after throwing an instance of 'NSException'
Program received signal: "SIGABRT".</p>

<p>UIButton * myButton = [UIButton buttonWithType:UIButtonTypeCustom];</p>

<p>[myButton setImage:[UIImage imageNamed:@"ButtonStandard.png"] forState:UIControlStateNormal];
    [myButton setImage:[UIImage imageNamed:@"ButtonSelected.png"] forState:UIControlStateSelected];
    [myButton setShowsTouchWhenHighlighted:YES];</p>

<pre><code>myButton.frame = CGRectMake(0.0, 380.0, 320.0, 100.0);
[myButton addTarget:self action:@selector(buttonPressed) forControlEvents:UIControlEventTouchUpInside];
[contentView addSubview:myButton];
</code></pre>

<p>any help would be great. </p>
