---
title: "ios不占空间隐藏statusbar"
author: "G10A"
date: "2013-02-27T11:27:38Z"
tags: ["iOS"]
categories: ["移动开发"]
slug: "ios-statusbar"
draft: false
lastmod: "2013-02-26T12:05:53Z"
id: 1815183
url: "https://cnkira.iteye.com/blog/1815183"
---

1\. 点击程序的Info.plist

2\. 右键点击任意一处，选择Add Row，选择UIStatusBarHidden或者Status bar is initially hidden，取值为YES。