Hi,
I’ve created a custom switch with this code:
switch1 = widget.newSwitch { style = "onOff", initialSwitchState = myTable.s1Position, onPress = fSwitch1, onRelease = fSwitch1, sheet = onOffSwitchSheet, onOffBackgroundFrame = 3, onOffBackgroundWidth = 86, onOffBackgroundHeight = 79, onOffHandleDefaultFrame = 3, onOffHandleOverFrame = 4, onOffOverlayFrame = 1, onOffOverlayWidth = 285, onOffOverlayHeight = 103 }
and it works great in the simulator, but when I test the app on my Android smartphone it doesn’t work! I press it and nothing happen. What could be?