iOS 7 status bar like iOS 6

前端 未结 5 1378
南笙
南笙 2021-02-08 04:05

I have an app with a support landscape and portrait mode. And I need the same behavior status bar like on iOS 6. What is the simplest way to do this?

I\'ve tried the sol

5条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-08 04:58

    This Guide helps me.

    http://www.doubleencore.com/2013/09/developers-guide-to-the-ios-7-status-bar/

    The most robust way to handle the 20 point size difference is Auto Layout.

    If you aren’t using Auto Layout, Interface Builder provides you with tools to handle the screen size difference between iOS 7 and the older versions. When Auto Layout is turned off, you will notice an area in the sizing tab of the utility area (right pane) of Interface Builder that allows you to set iOS 6/7 Deltas.

提交回复
热议问题