Removing Status Bar In IOS 8 When Using A UINavigationController

ORStudios

I am trying to remove the status bar from my app when moving between views in a UINavigationController.

I have a UINavigationController that has the status bar removed. I then select an image using UIImagePickerController, I think it is this that is resetting the status bar appearance.

After selecting the UIImage I push another view and present the image, the problem is that the status bar has reappeared.

I have tried a number of approaches including calling prefersstatusbarhidden on both views without without any luck.

Any ideas how to remove the status bar?

Thanks

iPP

Try hiding the status bar manually using this [[UIApplication sharedApplication] setStatusBarHidden:YES];

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

iOS 8 Orientation Landscape status bar issue

분류에서Dev

Flutter: How to change the status bar text color on Android and iOS when not using AppBar

분류에서Dev

Customize iOS 7 status bar text Color

분류에서Dev

iOS 8 search bar in a UIBarButtonItem?

분류에서Dev

UINavigationController iOS의 UITableViewcontroller

분류에서Dev

Is there any way to cover an iOS 7 status bar with a UIView temporarily?

분류에서Dev

iOS8 모달 팝 오버에서 UINavigationController보기의 너비?

분류에서Dev

iOS 8中UISearchController和UINavigationController之间的交互不一致

분류에서Dev

Adding to existing UINavigationController in iOS / Swift

분류에서Dev

top bar not visible after programmatically pushing UINavigationController

분류에서Dev

Changing the response status code when using rabl

분류에서Dev

Presenting view controllers on detached view controllers is discouraged when using UISeachController iOS 8

분류에서Dev

Presenting view controllers on detached view controllers is discouraged when using UISeachController iOS 8

분류에서Dev

iOS 8에서 UISearchController와 UINavigationController 간의 일관되지 않은 상호 작용

분류에서Dev

Switching to an arbitrary view using `UINavigationController`

분류에서Dev

iOS - Removing UITabBarViewController Shadow

분류에서Dev

Material design drawer under the status bar: how to achieve it using a DrawerLayout with two FrameLayouts as children?

분류에서Dev

Crack when removing earphones

분류에서Dev

What method is called when UINavigationController is presented?

분류에서Dev

Menu in system status bar is disabled

분류에서Dev

NSStatusItem reordering along Status Bar

분류에서Dev

Why haproxy logs status code 200 when using "http-response set-status <not-200>"?

분류에서Dev

spacing above the navigation bar, occurs when using headings and paragraphing

분류에서Dev

Removing an injection using regex

분류에서Dev

UITextView issue in iOS 8 : text view not scroll when entering text

분류에서Dev

pointInside:withEvent: called when typing on keyboard on iOS8

분류에서Dev

iOS / Swift에서 기존 UINavigationController에 추가

분류에서Dev

iOS UINavigationController 기반 앱 접근 방식

분류에서Dev

iOS 7 : UINavigationController가 UIScrollview를 내립니다.

Related 관련 기사

  1. 1

    iOS 8 Orientation Landscape status bar issue

  2. 2

    Flutter: How to change the status bar text color on Android and iOS when not using AppBar

  3. 3

    Customize iOS 7 status bar text Color

  4. 4

    iOS 8 search bar in a UIBarButtonItem?

  5. 5

    UINavigationController iOS의 UITableViewcontroller

  6. 6

    Is there any way to cover an iOS 7 status bar with a UIView temporarily?

  7. 7

    iOS8 모달 팝 오버에서 UINavigationController보기의 너비?

  8. 8

    iOS 8中UISearchController和UINavigationController之间的交互不一致

  9. 9

    Adding to existing UINavigationController in iOS / Swift

  10. 10

    top bar not visible after programmatically pushing UINavigationController

  11. 11

    Changing the response status code when using rabl

  12. 12

    Presenting view controllers on detached view controllers is discouraged when using UISeachController iOS 8

  13. 13

    Presenting view controllers on detached view controllers is discouraged when using UISeachController iOS 8

  14. 14

    iOS 8에서 UISearchController와 UINavigationController 간의 일관되지 않은 상호 작용

  15. 15

    Switching to an arbitrary view using `UINavigationController`

  16. 16

    iOS - Removing UITabBarViewController Shadow

  17. 17

    Material design drawer under the status bar: how to achieve it using a DrawerLayout with two FrameLayouts as children?

  18. 18

    Crack when removing earphones

  19. 19

    What method is called when UINavigationController is presented?

  20. 20

    Menu in system status bar is disabled

  21. 21

    NSStatusItem reordering along Status Bar

  22. 22

    Why haproxy logs status code 200 when using "http-response set-status <not-200>"?

  23. 23

    spacing above the navigation bar, occurs when using headings and paragraphing

  24. 24

    Removing an injection using regex

  25. 25

    UITextView issue in iOS 8 : text view not scroll when entering text

  26. 26

    pointInside:withEvent: called when typing on keyboard on iOS8

  27. 27

    iOS / Swift에서 기존 UINavigationController에 추가

  28. 28

    iOS UINavigationController 기반 앱 접근 방식

  29. 29

    iOS 7 : UINavigationController가 UIScrollview를 내립니다.

뜨겁다태그

보관