PaymentKit
PaymentKit copied to clipboard
Implementing intrinsicContentSize
-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:
(Here, the thin, centered grey line is the
PTKView
)
Implementing -intrinsicContentSize
fixes this.
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.