ios - How to create an if statement if segment is not selected? -


i want create statement says

if (segmenttitle.selectedsegmentindex == not selected) {     segmenttitle.selectedsegmentindex == 0; } 

what not selected in c code?

if read docs uisegmentedcontrol find answer:

if (segmenttitle.selectedsegmentindex == uisegmentedcontrolnosegment) {     segmenttitle.selectedsegmentindex = 0; } 

Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -