using a button to navigate to different view in navigation based application??
Posted
by hemant
on Stack Overflow
See other posts from Stack Overflow
or by hemant
Published on 2010-05-24T10:24:25Z
Indexed on
2010/05/24
10:51 UTC
Read the original article
Hit count: 228
i created a navigation based project but instead of tableview i added a new view with a button to navigate to the other view.. my button code is as shown below but whenever i run it the application doesn't run?? is the code wrong or navigation based application only work with tableview??
-(IBAction)clickMe:(id)sender
chdDetails *details=[[chdDetails dalloc]initWithNibName:@"chdDetails" bundle:nil];
[self.navigationController pushViewController:details animated:YES];
[details release];
details=nil;
© Stack Overflow or respective owner