2

In iOS11 on iPhone X, I'm having problems removing space on a peek.

The space is between the top and the stackview. The white gap is the root view on the view controller.

Peeked with action sheet

The constraints are set to safe area. The whitespace at the top only becomes visible when the peek is pushed up to show the action sheet and does not show the space on a normal peek without the action sheet or when followed threw.

The view is a stackview, with two views. No other logic is applied.

How do i remove this space at the top on a peek with actionsheet?

Peek Without sheet popped

Ostrich-39
  • 25
  • 1
  • 4

1 Answers1

0

Tried it and I can't seem to get that space, need more info.

Attached is my autolayout settings:

enter image description here

enter image description here

Zaid M. Said
  • 314
  • 1
  • 15
  • Works in the simulator, try on the device. It seems to be when you pull down from the top. The space varies depending on the forcefullness of the swipe. My views are the same as yours inc safe area constraints – Ostrich-39 Nov 24 '17 at 15:31