Alipay+ DocsAlipay+ Docs

preload

You can accelerate page loading for Merchant-presented Mode Payment by taking the following two steps:

  1. Integrate the page loading acceleration frameworks when adding SDK to your project. For more information, see Add SDK to your project.
  2. Call the preload API to enable acceleration as soon as the MPP app is launched.

Method signature

copy
@interface MPPAlipayPlusClient (Preload)

- (void)preload;
       
@end

Request parameters

N/A

Response parameters

N/A

Sample

copy
[[MPPAlipayPlusClient shared] preload];