-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
override function get exception #39
Comments
Can you provide a complete crash stack? |
Hello, yes, i come back to home after a 8 hours and send. |
|
so i found where that trouble!
signal - it's a pointer, but in that pointer come NSNumber i make a simple class and override that! `- (void)device:(TuyaSmartDevice *)device signal:(NSString *)signal{
}` and it's work! |
We will fix the errors in the next version. |
Yep, no problem, if you want, you can give me some codes for tested =) |
I am using this function from Tuya docs for iOS, my problem is my delegate method never call. |
Hello, when i add override function from get wifi signal:
`func getWifiSignalStrength() {
self.device?.getWifiSignalStrength(success: {
print("get wifi signal strength success")
}, failure: { (error) in
if let e = error {
print("get wifi signal strength failure: (e)")
}
})
}
// MARK: - TuyaSmartDeviceDelegate
func device(_ device: TuyaSmartDevice!, signal: String!) {
}`
take exception :
delegate was added TuyaSmartDeviceDelegate
The text was updated successfully, but these errors were encountered: