Pay Kit iOS: UI Components
PayKitUI provides an unmanaged CashAppPayButton and a CashAppPaymentMethod view in both UIKit and SwiftUI.
These views accept a SizingCategory to specify the preferred size of the view within your app. They also support light/dark themes by default.
These views must be used as-is, without modification.
CashAppPayButton
This is an example of CashAppPayButton:
You can use the following example for instantiating the button:
CashAppPaymentMethod
This is an example of CashAppPaymentMethod:
You can use the following example for instantiating the button: