Tom Spee
Tom Spee

Reputation: 9269

Xcode universal app iPad UITableView size

I've created an universal app in Xcode 6 and the iPhone storyboard has a UIViewController that contains a UITableView, it works fine. I made the iPad storyboard the same as the iPhone and added all the classes and elements but the UITableView is displayed very small. On my storyboard the UITableView is fullscreen but when I run the iPad app it is displayed like the image below.

I read something about the UISplitViewController but I don't want to split the view. Why is this displayed smaller than I've created on my storyboard?

ANSWER

The wrong Storyboard was targeted in the segue so it got linked to my iPhone storyboard, that's why the tableView was the size of an iPhone. Thanks for the help.

enter image description here

Upvotes: 0

Views: 629

Answers (2)

LS_
LS_

Reputation: 7129

Add Constraint to the TableView in order to auto-resize it based on the screen size

Upvotes: 0

Reconquistador
Reconquistador

Reputation: 895

Maybe you are not using Auto Layout and forgot to set Autoresizing.

Upvotes: 0

Related Questions