tencent cloud

Tencent Cloud Super App as a Service

Mini Program Internal UI Views

Download
Focus Mode
Font Size
Last updated: 2026-04-30 16:57:51
AI-Translated

Loading

Mini program API
TMFMiniAppSDKDelegate method
wx.showLoading
- (void)showLoading:(TMALoadingInfo * _Nullable)infos;
wx.hideLoading
- (void)hideLoading;

Toast

Mini program API
TMFMiniAppSDKDelegate method
wx.showToast
- (void)showToast:(TMAToastInfo *)infos;
wx.hideToast
- (void)hideToast;

ActionSheet

Mini program API
TMFMiniAppSDKDelegate method
wx.showActionSheet
(actionSheetType = 0)
- (void)showActionSheetWithTitle:(nullable NSString *)title
cancelButtonTitle:(nullable NSString *)cancelButtonTitle
cancelAction:(nullable dispatch_block_t)cancelAction
otherButtonTitleAndActions:(nullable NSArray *)otherButtonTitleAndActions
dismissBlock:(nullable dispatch_block_t)dismissBlock
presentingViewController:(UIViewController *)presentingViewController;
wx.showActionSheet
(actionSheetType = 1)
- (void)showShareViewWithTitle:(nullable NSString *)title
cancelAction:(nullable dispatch_block_t)cancelAction
otherButtonTitleAndActions:(nullable NSArray *)otherButtonTitleAndActions
dismissBlock:(nullable dispatch_block_t)dismissBlock
parentVC:(UIViewController *)parentVC;
wx.showModal
- (void)showAlertWithTitle:(nullable NSString *)title
withMessage:(nullable NSString *)message
actionBlocks:(nullable NSArray<AlertActionInfo*> *)actionTitleAndblocks
presentingViewController:(UIViewController*)presentingViewController;

Modal

Mini program API
TMFMiniAppSDKDelegate method
wx.showModal
- (void)showAlertWithTitle:(nullable NSString *)title
withMessage:(nullable NSString *)message
actionBlocks:(nullable NSArray<AlertActionInfo*> *)actionTitleAndblocks
presentingViewController:(UIViewController*)presentingViewController;



Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback