Set navigation bar title programmatically and hide default navigation back button in objective C


[[self navigationController] setNavigationBarHidden:NO animated:NO];
self.navigationItem.title=@"Write title";