---
title: "隐藏UINavigation"
author: "helmsman_xcode"
date: "2011-08-17T11:05:25Z"
tags: []
categories: ["移动开发"]
slug: "uinavigation"
draft: false
lastmod: "2011-08-17T11:05:25Z"
id: 1151132
url: "https://helmsman-xcode.iteye.com/blog/1151132"
---

在需要的地方设置即可

 

```
[self.navigationController setNavigationBarHidden:YES animated:YES];
```

 

显示

 

```
[self.navigationController setNavigationBarHidden:NO animated:YES];
```