Adyen / adyen-ios

Adyen iOS Drop-in and Components
https://docs.adyen.com/checkout/ios
MIT License
150 stars 119 forks source link

[NEED ASSIST] How to present Card Component as Half Sheet ? #1745

Closed winstoncex7 closed 1 month ago

winstoncex7 commented 1 month ago

Our UI requires the card component to be presented as half screen instead of taking over the whole screen. So is there any way to present the same ? ( as the documentation isn't updated with such requirement ).

erenbesel commented 1 month ago

@winstoncex7 The SDK provides the view controller of the component via component.viewController property. You can customize this as you would any other UIViewController in iOS. (This link from Apple could be useful for half sheet modals)