Code: Select all
@property (nonatomic, strong) NSString *lang;
如果不设置该属性, SDK 默认取 mainBundle -> preferredLocalizations -> [0]
通过设置该属性, 可以实现自定义语言, 之后所有的涂鸦云请求返回的数据都会按照目标语言进行返回
例如, 设置英文
Code: Select all
[ThingSmartSDK sharedInstance].lang = @"en";
Code: Select all
@property (nonatomic, strong) NSString *lang;
如果不设置该属性, SDK 默认取 mainBundle -> preferredLocalizations -> [0]
通过设置该属性, 可以实现自定义语言, 之后所有的涂鸦云请求返回的数据都会按照目标语言进行返回
例如, 设置英文
Code: Select all
[ThingSmartSDK sharedInstance].lang = @"en";
From the attachment, it appears that you are using Single-Point Bluetooth scanning, and your Smart Ambient Light is a BLE& WIFI device, so it cannot be scanned. You can use 'Dual Mode' to scan the device.
We apologize for any inconvenience this may have caused.
please use pod "ThingSmartMatterKit", '5.2.8' and run pod update ThingSmartMatterKit --repo-update
please use pod "ThingSmartMatterExtensionKit", '5.0.5'
and run pod update ThingSmartMatterExtensionKit --repo-update