PaymentKit icon indicating copy to clipboard operation
PaymentKit copied to clipboard

Implementing intrinsicContentSize

Open Ziewvater opened this issue 10 years ago • 1 comments

-intrinsicContentSize allows for the PTKView to be used properly in auto layout without having to resort to explicit dimension constraints. Currently, centering PTKView without providing a size can result in strange layouts (ultimately due to the fact that the PTKView does not determine its own size by the sizing of its subviews). An example of such a layout can be seen in the following screen shot: screen shot 2015-02-09 at 11 06 52 am (Here, the thin, centered grey line is the PTKView)

Implementing -intrinsicContentSize fixes this.

Ziewvater avatar Feb 09 '15 20:02 Ziewvater

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Aug 06 '20 12:08 CLAassistant