When the iOS client needs to access Mini Program extension information, wrap the extension data inside launchParams when creating the Mini Program package in the console. If you skip this step, the iOS client cannot retrieve the extension information.
Retrieve extension information
After you publish a Mini Program package with extension information wrapped in launchParams, use the following code to retrieve it on the iOS client.
NAMApp *app = [NAMServiceGet() findApp:appId version:@"1.0.0.2"];
NSString *extend_info = app.extend_info;
该文章对您有帮助吗?