IOSSegmentedControl inspector value returns to "0" after save

IOSSegmentedControl will note save a value in inspector other than “0”. Fx. if value is set to “2” in inspector, after saving and quitting Xojo. Startup vill return it to “0”

Could be a bug. If you can, please create a Feedback case.

In the meantime, as a workaround you can put this code in the Open event handler for the iOSSegmentedControl to set it:

Me.Value = 2