iPhone/iPad - issues with NavigationBar button ?

Posted by user532445 on Stack Overflow See other posts from Stack Overflow or by user532445
Published on 2011-01-13T03:46:28Z Indexed on 2011/01/13 4:54 UTC
Read the original article Hit count: 177

I my application i have added button in NavigationBar like this..

UIBarButtonItem *more=[[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"search-25by25.png"] style:UIBarButtonItemStylePlain target:self action:@selector(SelectMission:)];

self.navigationItem.rightBarButtonItem = more;

When i am clicking on button application get's shutdown...

If i am doing same thing with normal button it's working fine can any one help me why it's behaving like this?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c