Picker selection constraints iphone4 / iphone5
source link: https://www.codesd.com/item/picker-selection-constraints-iphone4-iphone5.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Picker selection constraints iphone4 / iphone5
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:
Related Articles
Breaking constraints for iPhone 6+ with dynamic size cells
Selection of triangles in the OpenGL core profile when using glDrawElements
Setting UITableViewCell from a selection selection
Highcharts: Why reprocessing changes the radius of the selected point?
Find and select Outlook e-mail from MS Access
Dynamically selecting a line in a UIPickerView
Get a URL from (to) a & ldquo; picked up & rdquo; image, iOS
Neo4j + PopotoJS: graphic filter based on predefined constraints
Jquery change HTML to div on the button click on the function: selected
Delete all tables, stored procedures, triggers, constraints, and all dependencies in a sql statement
How to center two labels horizontally?
How to add these three files correctly? & Ldquo; Default.png, [email protected], [email protected] & rdquo; for a universal application for iPhone / iPad?
Downloading an application of different versions to the Apple App Store
How to best manage a situation in PHP where the constructor receives a non-zero mandatory value, which may not always be initialized?
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK