English
English
简体中文
Register
Log In
English
English
简体中文
Register
Log In
Language
English
English
简体中文
Register
Log In

How do I change the temperature scale when developing an iOS app with the app SDK?

Last Updated on2025-02-28 07:17:26
Use the "- (void)setTempUnit:(NSInteger)tempUnit" method in TuyaSmartUser to change the temperature scale. Value 1 indicates Celsius (°C), and value 2 indicates Fahrenheit (°F). Other temperature scales, such as the Rankine (°R) scale, Réaumur scale, and Newton scale, are not supported. We recommend that you save the used temperature scale to userdefault.

Click for services and help

Help Center