The viewcontroller extends past the screen width.
Here is my code:
let headerViewController = postStoryboard.instantiateViewController(withIdentifier: "postDetailDescription") as! PostDetailDescriptionViewController
let firstViewController = postStoryboard.instantiateViewController(withIdentifier: "postDetailInfo") as! PostDetailInfoViewController
firstViewController.title = "Info"
The viewcontroller extends past the screen width. Here is my code: let headerViewController = postStoryboard.instantiateViewController(withIdentifier: "postDetailDescription") as! PostDetailDescriptionViewController
let firstViewController = postStoryboard.instantiateViewController(withIdentifier: "postDetailInfo") as! PostDetailInfoViewController firstViewController.title = "Info"
The green bound is the screen and the red bound is the segmentedVC