XCode Help 2

Whenever I create a segue between two view controllers, the second view controller gets gray frame around it that ruins my layout. I trying to get rid of it, but I don't know how. Please someone help me?

It only happen in IB, and it's when a I make a segue through IB not code. I have a picture, but there is no image attachment or can't find it.
Answered by Claude31 in 629476022
May be due to Presentation mode as automatic.
  • Select the destination VC (click on the top bar above the view)

  • Open Attribute inspector

  • you will see a Presentation Field

  • it is probably Automatic: change to Full screen

  • If that is not enough, do the same for origin VC

Accepted Answer
May be due to Presentation mode as automatic.
  • Select the destination VC (click on the top bar above the view)

  • Open Attribute inspector

  • you will see a Presentation Field

  • it is probably Automatic: change to Full screen

  • If that is not enough, do the same for origin VC

It worked! Thank you, so much.
Great.

Note that Automatic let you dismiss the destination controller by a Swipe up.
With full screen you need to implement some sort of back button.
XCode Help 2
 
 
Q