mPaaS provides a unified component library to meet the needs of users for different native controls. To enable clients to access the unified component library, you must add the SDK of the unified component library, and then call the SDK API method in the code to add controls.
Prerequisite
The project is connected to mPaaS. For more information, refer to: Access based on native framework and using Cocoapods.
Add the SDK
- In the Podfile file, enter
mPaaS_pod "mPaaS_CommonUI"
to add the dependency on the Common UI component. - Run
pod install
to connect the component to the mPaaS.
Use the SDK
Use Common UI SDK of the baseline version 10.1.60 and later. You can refer to the official demo of Common UI.