jmoneystl
jmoneystl

Reputation: 781

View not resizing on 3.5 inch screen

I have a main menu screen with a tab bar at the bottom. It's got a Pin > Bottom Space to Superview constraint. However, the main menu view does not resize when run on a 3.5 inch screen. The only way I can get the tab bar to show up is to run...

self.view.frame = [[UIScreen mainScreen] bounds];

But when I do this, the tab bar stops responding. So I have two issues: 1) Why doesn't the constraint cause the view to resize properly?, and 2) Why does the tab bar stop responding when it's moved?

Upvotes: 0

Views: 446

Answers (1)

Matteo Gobbi
Matteo Gobbi

Reputation: 17707

It's important for you use constraints? You can simply use normal resize from the inspector: enter image description here

Upvotes: 1

Related Questions