How can i do this? I want my UIButton to remain selected until a certain condition is met
In IBAction set
[UIButton setSelected:YES]
And check it with isSelected:YES
isSelected:YES
Change if necessary setSelected:NO
setSelected:NO
Source: https://habr.com/ru/post/1711715/More articles:Open My Computer Properties in a C # Windows Application - c #Problems creating a Java Mobile Application project - java-meHow to implement a list, set and map in a zero design? - javaNull-free "maps": Is the callback solution slower than tryGet ()? - javaCOM MFC ATL worth learning? - comWhat controls the behavior of OpenGL when drawing triangular stripes? - geometryDependent Boolean Properties - c #Java and Google Maps - javaАльтернатива С# для С++ STL set - c#Publishing artifacts with sources on archiva - jarAll Articles