iphone - Is it possible to programmatically select an option in a controlled segment by the name rather than the index? -
i want make segment selected name labeled rather index setselectedsegmentindex:0
dont want go through , define each index labeled name manually. how can this?
just created category that, you'll able find here on github.
simply import category in file want use in, , then:
[yourcontrol selectsegmentcalled:@"the name"];
Comments
Post a Comment