ios move ui view down after hiding status bar

stewart715

I've read a few questions here and searched around a bit but nothing seems to solve my problem. I have a side navigation controller of which I am sliding the status bar (using a technique outlined here: Moving status bar in iOS 7).

In any event, when I hide the status bar to begin the slide (as soon as I tell the view to hide the status bar and add a fake one), the entire view moves up behind my faux status bar. Is there any way to move the view down so that the faux status bar appears directly above the view?

santhu

may be some autolayout issueAs there is no status bar , the view frame went to frame.origin.y=0. Try setting the frame to origin.y=20 before you hide the status bar.

If you are adding fake status bar as subview to mainView. set frame of fake status bar view to (origin.y=-20)

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Hiding status bar iOS 7

From Dev

Status Bar not hiding - iOS 7

From Dev

How do I move a child view controller, while hiding the status bar using Auto Layout instead of frames?

From Dev

iPhone/iOS Status bar not hiding in Xcode project

From Dev

iOS7 Hiding the status bar

From Dev

Android Hiding the status bar after exiting

From Dev

View shifts down when presenting view controller with status bar on iOS 9

From Dev

Dynamically hiding status bar

From Dev

Dynamically hiding status bar

From Dev

iOS 7 status bar overlapping UI

From Java

iOS 7 - Status bar overlaps the view

From Dev

Container View Controller Status Bar iOS 7

From Dev

iOS 7 - Hide status bar on certain view

From Dev

status bar is overlapping with the view in iOS7

From Dev

iOS 7 - Hide status bar on certain view

From Dev

iOS 7 - View Overlaps Status Bar Even After Setting Delta Y to 20

From Java

Hiding the status bar with React Native

From Dev

Hiding status bar while in UIViewControllerAnimatedTransitioning

From Dev

Hiding status bar while in UIViewControllerAnimatedTransitioning

From Dev

Changing status bar style after viewDidLoad in iOS

From Dev

In-call status bar pushes UIPageViewController content view down

From Dev

Spinner drop down view partially hidden by status bar

From Dev

How can I change the UIWebView background color after sliding down UIWebView to fix the iOS7 status bar overlay issue?

From Dev

Preventing relayout on hiding status bar (faking SYSTEM_UI_FLAG_LAYOUT_STABLE)

From Dev

Allow single swipe to show notification and control center, even when hiding iOS7 status bar

From Dev

Allow single swipe to show notification and control center, even when hiding iOS7 status bar

From Dev

Hiding the Status Bar for an iPhone app running on iPad

From Dev

Android Studio Leanback Hiding Status Bar

From Dev

adjustPan pushing my layout and hiding status bar

Related Related

  1. 1

    Hiding status bar iOS 7

  2. 2

    Status Bar not hiding - iOS 7

  3. 3

    How do I move a child view controller, while hiding the status bar using Auto Layout instead of frames?

  4. 4

    iPhone/iOS Status bar not hiding in Xcode project

  5. 5

    iOS7 Hiding the status bar

  6. 6

    Android Hiding the status bar after exiting

  7. 7

    View shifts down when presenting view controller with status bar on iOS 9

  8. 8

    Dynamically hiding status bar

  9. 9

    Dynamically hiding status bar

  10. 10

    iOS 7 status bar overlapping UI

  11. 11

    iOS 7 - Status bar overlaps the view

  12. 12

    Container View Controller Status Bar iOS 7

  13. 13

    iOS 7 - Hide status bar on certain view

  14. 14

    status bar is overlapping with the view in iOS7

  15. 15

    iOS 7 - Hide status bar on certain view

  16. 16

    iOS 7 - View Overlaps Status Bar Even After Setting Delta Y to 20

  17. 17

    Hiding the status bar with React Native

  18. 18

    Hiding status bar while in UIViewControllerAnimatedTransitioning

  19. 19

    Hiding status bar while in UIViewControllerAnimatedTransitioning

  20. 20

    Changing status bar style after viewDidLoad in iOS

  21. 21

    In-call status bar pushes UIPageViewController content view down

  22. 22

    Spinner drop down view partially hidden by status bar

  23. 23

    How can I change the UIWebView background color after sliding down UIWebView to fix the iOS7 status bar overlay issue?

  24. 24

    Preventing relayout on hiding status bar (faking SYSTEM_UI_FLAG_LAYOUT_STABLE)

  25. 25

    Allow single swipe to show notification and control center, even when hiding iOS7 status bar

  26. 26

    Allow single swipe to show notification and control center, even when hiding iOS7 status bar

  27. 27

    Hiding the Status Bar for an iPhone app running on iPad

  28. 28

    Android Studio Leanback Hiding Status Bar

  29. 29

    adjustPan pushing my layout and hiding status bar

HotTag

Archive