I have a picker view on ios7. This picker view as at the bottom of the view controller. On the iPhone 5 it displays fine, and its big enough to see the options in the picker view.
On the iPhone 4 it is too small to see the options in the picker view.
I know I have to use constraints, but any idea which way to go with this one.
The picker view is stuck to the bottom of the vc.
thanks
In storyboard, simply ctrl-click-drag to the view you want to make the constraint with like this:
and then you can see all your constraints on the right side of Xcode:
In simple way.
Click on the picker and click on the " Add missing Constraints
"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.