This method returns a card asset for the specified card network. If an asset is not available, nil is returned.
The SDK must be initialized before this method is called or an error will be thrown.
1
public static func getCardNetworkAsset(for cardNetwork: CardNetwork) throws -> PrimerCardNetworkAsset?
swift
copy
Parameters
Properties
cardNetwork
CardNetworkRequiredReturns
cardNetwork
CardNetworkcardImage
UIImage?