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

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -