ios - Is there a code only version of "Size Classes"? -
I'm writing my iOS 8 constraints in the code instead of IO Oh, for a number of reasons, There is no way to write the constraints of the "sections", as you can do in the IB.
I think I can look for changes in the screen aspect ratio and then reset the obstacles, but is there a more documented way?
Thank you! Henry
check > TraitcollectionDidChange: In the UITraitCollection and
UITraitEnvironment . Contains
UITviewController to
UITraitEnvironment which means that you can hold it at
UITraitCollection and when it changes through code, the response is also
UITraitCollection displayScale and userInterfaceIdiom with horizontal and vertical sizes.
Comments
Post a Comment