M.B
M.B

Reputation: 885

Subviews is pushing down issue

I am using storyboard to design a ViewController, but when I run the app the subview is pushing down and is not at same position in the ViewController. Why and how can I prevent it?

This is on storyboard:

this is on storyboard

This is when I run the app:

this is when I run the app

Upvotes: 0

Views: 30

Answers (1)

Toseef Khilji
Toseef Khilji

Reputation: 17419

In storyboard uncheck your Extend Edges Under Top Bars of your viewController,

enter image description here

Upvotes: 1

Related Questions