Do I need to know the state of the button at this time, if I click or not?
thank
if (myButton.state & UIControlStateHighlighted) { // Do your stuff the user is currently holding down her fingerโฆ }
take a look at the state property of your UIButton. You are interested in UIControlStateHighlighted.
Source: https://habr.com/ru/post/1775416/More articles:The Tomcat app downloads all of its code from a can - where does it say to use this can? - javaRich text editors designed for html email? - htmlWhy do findXXX () methods in a HibernateTemplate return a non-parameterized list? - javaTwo different SQL statements generated by the same expression, Linq and Lambda - performanceTeam Foundation Server, e-books or starting points - tfsSolr does not initialize - solrWill APC work well for a highly dynamic PHP site? - phpSolrNET - Failed to load file or assembly "HttpWebAdapters" when pulling from Nuget - c #Clojure static typing, part 2 - static-typingThe process cannot access the file "C: \ Inetpub \ wwwroot" because it is being used by another process - asp.netAll Articles