Closed phatmann closed 8 years ago
Pass UILayoutFittingCompressedSize or UILayoutFittingExpandedSize into contentViewSize, and the view will be automatically resized via auto-layout.
UILayoutFittingCompressedSize
UILayoutFittingExpandedSize
contentViewSize
The example app was updated to include this new feature. The README sample code was also updated to mention this feature.
Please do not merge yet, fixing some issues.
This is now ready to merge.
Looks good thanks!
Pass
UILayoutFittingCompressedSize
orUILayoutFittingExpandedSize
intocontentViewSize
, and the view will be automatically resized via auto-layout.The example app was updated to include this new feature. The README sample code was also updated to mention this feature.