Updated on 2026-01-28 GMT+08:00

Clearing UI Configurations

If you want to clear an existing delegate, set the parameter involved to nil.

The specific parameter varies with the delegate you want to clear.

1
2
3
4
[HWMSdk getSdkConfig].socialShareHandler = nil; 
[HWMSdk getSdkConfig].confUIHandler = nil; 
[HWMSdk getSdkConfig].contactUIHandler = nil; 
[HWMSdk getSdkConfig].headPortraitApiHandler = nil;