In your view controller: // Declare at beginning So you could make a listener for the corresponding UIPanGesture, noting that if the navigation bar is hidden then its y origin is -44.0 otherwise, it's 0 (not 20 because we hid the status bar!). There's a barHideOnSwipeGestureRecognizer. Okay I spent all day doing this, hopefully this helps some people out.
0 Comments
Leave a Reply. |