안녕하세요.

뷰베이스로 프로젝트하나 만들어 두고, 아래의 코드를 추가 시켰습니다.
몇줄 되지도 않습니다. 버튼 테스트 할려고 만들었으니깐요.

- (void)viewDidLoad {

    [super viewDidLoad];

UIButton* infoButton = [UIButton buttonWithType: UIButtonTypeRoundedRect];

infoButton.frame = CGRectMake(20.0f,380.0f,44.0f,44.0f);

[infoButton addTarget:self action :@selector(mostraViewInfo) forControlEvents UIControlEventTouchUpInside];

[self.view addSubview:infoButton];

}


-(void) mostraViewInfo :(id)sender

{

NSLog(@"EQView.m : mostraViewInfo");

}


실행 시켜 보면 만들어진 버튼도 있고 문제 없이 동작하는듯 보이는데, 
버튼을 누르면 

2010-08-19 12:30:14.348 Untitled32[753:207] -[Untitled32ViewController mostraViewInfo]: unrecognized selector sent to instance 0x5940a60

2010-08-19 12:30:14.350 Untitled32[753:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[Untitled32ViewController mostraViewInfo]: unrecognized selector sent to instance 0x5940a60'

*** Call stack at first throw:

(

0   CoreFoundation                      0x02393919 __exceptionPreprocess + 185

1   libobjc.A.dylib                     0x024e15de objc_exception_throw + 47


표시 하고 죽어 버리네요.
왜 죽었을까요??
답변에 미리 감사드립니다.
이 게시물을..