i used this code. but i won't any hardcode solution. if you have know any other solution please share
[UIView animateWithDuration:0.3 animations:^{
self.view.frame=CGRectMake(0, self.navigationController.navigationBar.frame.size.height+20, 320, 504);
}];