navigation related issue in iphone
<p>I am doing nevigation in one screen (i.e firstScreen) to next screen (i.e. secondFile).  My code is in firstFile.m  is :</p>

<pre><code>- (IBAction)onClick:(id)sender
{

secondFile* dest = [[secondFile alloc] initWithNibName:@" secondFile" bundle:nil];
[self.navigationController pushViewController:dest animated:YES];


NSString* uname = txtUserName.text;
NSLog(@"usr name is : %@",uname);

}
</code></pre>

<p>firstScreen.h</p>

<pre><code>&lt;UIKit/UIKit.h&gt;

@interface nevigationViewController : UIViewController
@property (weak, nonatomic) IBOutlet UIButton *btnNevigation;
@property (weak, nonatomic) IBOutlet UITextField *txtUserName;
- (IBAction)onClick:(id)sender;

@end
</code></pre>

<p>Problem is that log is printed but navigation is not perform. please, can u tell me what is wrong in above code.</p>
