Help Center/
Meeting/
Client SDK Reference/
FAQs/
iOS SDK/
What Should I Do If Notification Methods Cannot Be Implemented?
Updated on 2024-07-30 GMT+08:00
What Should I Do If Notification Methods Cannot Be Implemented?
Solve the issue by referring to precautions.
If the precautions cannot solve the issue, print the information before using the delegate method. If the delegate method cannot be printed, find the cause in the code.
1 2 3 4 5 6 7 8 |
// Sample code. View the corresponding object as required. id <HWMNotifyHandler> globalHandler = [HWMSdk getSdkConfig].globalHandler; // Print the delegate. NSLog(@"Check whether the delegate exists.:%@", globalHandler); // Check whether the delegate method exists. if(globalHandler && [globalHandler respondsToSelector:@selector(onKickedOut:)]){ NSLog(@"The delegate method exists."); } |
Parent topic: iOS SDK
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot