blynkkk / blynk_Issues

6 stars 6 forks source link

Blynk.setProperty not working #221

Closed Johnep101 closed 2 years ago

Johnep101 commented 2 years ago

Hi, Im trying to set the "Label" property of a segmented switch in Blynk 2. The switch works as expected but I can't seem to change the menu titles as indicted in the documentation. I'm using 'Blynk.setProperty(V4, "Labels", "A", "B","C");'
But the labels just remain as labeled as written in the app. im using IOS 15.2.1 on an iPad.

is it possible to also change the name of the switch? (I want to write a multi language app such that tiles and labels can be changed by a switch.)

thanks

doom369 commented 2 years ago

@Johnep101 hello, "labels" should be fully lowercase.

Blynk.setProperty(V4, "labels", "A", "B","C");

What doc did you use?

Johnep101 commented 2 years ago

Hi Dmitriy, Thank you my mistake, I used the on line docs but didn’t spot the lower case🤯🤯 All working perfectly👍