# ui\_Switch not working on iOS devices

**URL:** <https://discourse.nodered.org/t/ui-switch-not-working-on-ios-devices/43730>\
**Category:** General\
**Created:** [5 April 2021 22:06 UTC](https://discourse.nodered.org/t/ui-switch-not-working-on-ios-devices/43730 "2021-04-05T22:06:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wimphot](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wimphot/32/72676_2.png) [@wimphot](https://discourse.nodered.org/u/wimphot)\
**Post date:** [5 April 2021 22:06 UTC](https://discourse.nodered.org/t/ui-switch-not-working-on-ios-devices/43730/1 "2021-04-05T22:06:54Z")

</div>

OK time to take the plunge and ask my first question.  
I have Node-RED -vers 10.23.1 - I think, that's what I see under Node version in the Container Stack.  
I am tinkering with a Sonoff+MQTT, I have a ui\_switch which uses `[{"id":"559ccec1.0fc44","type":"ui_switch","z":"ee0e5791.bf0f48","name":"","label":"LED Switch","tooltip":"","group":"3c681396.c1b84c","order":0,"width":0,"height":0,"passthru":false,"decouple":"false","topic":"Sonoff#1","style":"","onvalue":"ON","onvalueType":"str","onicon":"","oncolor":"","offvalue":"OFF","offvalueType":"str","officon":"","offcolor":"","x":130,"y":100,"wires":[["a95b3748.38013"]]},{"id":"3c681396.c1b84c","type":"ui_group","name":"Main","tab":"715eed72.7b6be4","order":1,"disp":true,"width":"6","collapse":false},{"id":"715eed72.7b6be4","type":"ui_tab","name":"Dashboard","icon":"dashboard","order":1}]`  
It works OK on FF under Mac OS 10.11.6 and Chrome in Linux but not on Apple iOS - Safari and FF  
I am guessing this is an Apple thing. Is there a work around?  
Thanks in anticipation.  
Nervous Newbie

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [6 April 2021 09:37 UTC](https://discourse.nodered.org/t/ui-switch-not-working-on-ios-devices/43730/2 "2021-04-06T09:37:27Z")

</div>

> [@wimphot](#):
>
> I have Node-RED -vers 10.23.1

That is probably the nodejs version. Look at the bottom of the node-red editor menu dropdown to see the node-red version. More importantly check you are using the latest version of node-red-dashboard which you can see from Manage Palette in the menu.

For the future see this post for how to share flows here so they are easily importable by others - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [5 June 2021 09:38 UTC](https://discourse.nodered.org/t/ui-switch-not-working-on-ios-devices/43730/3 "2021-06-05T09:38:19Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
