Closed BaluNaik closed 3 years ago
It seems that it is now impossible to override brandImageRect method. Overriding non-open instance method outside of its defining module
brandImageRect
Overriding non-open instance method outside of its defining module
import UIKit import Stripe class MyPaymentCardTextField: STPPaymentCardTextField { override func brandImageRect(forBounds bounds: CGRect) -> CGRect { } }
14.x
Cocoa pod
Higher than 21.3.1
21.3.1
Here is previous discussion Details https://github.com/stripe/stripe-ios/issues/1768
Thanks for filing this! It should be resolved in 21.7.0.
Summary
It seems that it is now impossible to override
brandImageRect
method.Overriding non-open instance method outside of its defining module
Code to reproduce
iOS version
14.x
Installation method
Cocoa pod
SDK version
Higher than
21.3.1
Other information
Here is previous discussion Details https://github.com/stripe/stripe-ios/issues/1768