tencent cloud

All product documents
Tencent Cloud Super App as a Service
Create shortcut
Last updated: 2025-03-17 15:45:40
Create shortcut
Last updated: 2025-03-17 15:45:40

How to create shortcut

Tap More ··· in the top-right corner, and find the Create shortcut in the bottom of the screen.



After tapping, it will redirect to the Safari page.

Tap Add to Home Screen to create a shortcut for the mini program.

Complete the configurations to use the feature

1. The client needs to return the scheme protocol name via the getAppScheme delegate method. Example code:

- (NSString *)getAppScheme{
return @"xxx";
}
2. Configure the same scheme in the URL Types section of the main project's info.plist file.

3. Implement the handleOpenUrl method in the openUrl method. See the example below:


- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<uiapplicationopenurloptionskey, id> *)options {
if ([[TMFMiniAppSDKManager sharedInstance] handleOpenUrl:url]){
return YES;
}
return YES;
}
Once completing the above steps, you can open the released version of the mini program by scanning the console QR code with the system camera.

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon