I have a problem, I want my UISegment start all unselected when the application loads.
UISegment
If anyone can help in this matter, I would be very grateful.
Regards.
Or:
[mySegmentControl setSelectedSegmentIndex:-1];
or
[mySegmentControl setSelectedSegmentIndex:UISegmentedControlNoSegment];
All this in apple docs. Link: http://developer.apple.com/library/ios/#documentation/uikit/reference/UISegmentedControl_Class/Reference/UISegmentedControl.html
In the beginning, after initializing the segmental control, you can use
yourSegmentControl.selectedSegmentIndex=-1;
it will remove any selected index.
I hope this helps
Just uncheck Selected checkbox from property
Source: https://habr.com/ru/post/1394170/More articles:Android: stretching between two fixed LinearLayouts - androidUsing ARC and -fno-objc-arc flags is the best way? - automatic-ref-countingUndefined mixin 'global-reset' when deployed to Heroku - ruby-on-railsGoogle Maps API displays geographic data - javascriptIs there a graphical tool for Mac to help position CCNode objects on a layer? - iosJQueryUI Autocomplete: autoFocus = true won't do anything - javascriptNode and Express - asset manager for route resources - node.jsQuartz Scheduler for java- How to start work every 5 minutes - javaUse Rundll32.exe to execute the function exported by the DLL - cThe onClick button does not work - androidAll Articles