how to put constraints on views in interface builder to satisfy all iphone Screen in Xcode 8
- 阅读更多 关于 how to put constraints on views in interface builder to satisfy all iphone Screen in Xcode 8
I have been trying the following such as pinning, aspect ratio, vertical spacing ,horizontal/vertical spacing,leading/trailing space; but it is not working uniformly for all iPhone screen from iPhone se and above. You dont apply constraints for each device anymore. You apply auto layout constraints per size class. If you are aware each and every iOS devices falls under one of the size class in each orientation. If you aren't aware of size class do read about it. As to answer your question, 1. You will add constraints which are common across all the size classes to any x any. 2.you can always