![](/img/trans.png)
[英]how to give separate height and width constraint for specified screen size for eg giving different constraints for iphone and ipad?
[英]How setting width and height constraints of UI controls in iOS works when we use different size and types of screen?
我正在學習iOS中的自動版式,如何設置邊距或設置控件的寬度和高度如何根據iPhone和iPad尺寸的不同而縮放。
例如,如果我在iPhone中將圖像設置為200 x 200,與iPad相比看起來會不會很小,即使iPhone 5S也比iPhone 6S Plus小得多。
我缺少與自動布局相關的重要信息嗎?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.