Alipay IOS integration process
1. Official help document: https://docs.open.alipay.com/204/105295/
2. Download SDK
3. Modify the IOS configuration: In the Link Binary With Libraries of the Build Phases tab, add the following dependencies
libz.tbd libc++.tbd SystemConfiguration.framework CoreTelephony.framework QuartzCore.framework CoreText.framework CoreGraphics.framework UIKit.framework Foundation.framework CFNetwork.framework CoreMotion.framework AlipaySDK.framework // If the downloaded SDK does not contain UTDID, it needs to be imported once UTDID.framework
4. Download Demo and directly modify appid and private_key
5. Note that when converting to a string in the swift language, the optional type will have an extra Option, which will cause the payment to fail. You can force the conversion to a non-optional type.