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

winapi - How to get a user input on a MessageBox on C++? -

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