I need to do some cleaning on the second view controller when the back button is pressed on the Apple Watch (arrow). Is there any detection / processing method when I press the back / browse button?
Note. I cannot use the function 'willDeactivate (), because it makes me fixate on what I'm trying to do.
There is no way to detect that the back button has been pressed. The correct / only place would be in didDeactivate , although it doesn't seem like this will work for you.
didDeactivate
Source: https://habr.com/ru/post/984925/More articles:Hide the first characters of x - htmlHow often is the UML βin the real world?β Chart used. - umlUpdate to: Adding a node to the Neo4j spatial index index - neo4jFirefox createMediaStreamDestination error using rtc? - javascriptITunes Connect error for archive downloaded from Xcode 6.3: contains invalid version of Swift - iosRange.Find does not work in ranges that are hidden and part of the filter - vbaIs duplicate content mapped to SEO / semantics? - htmlIssues with iOS 8 extension dependencies. Import one project file into extension view controller - iosAngular Material. Dynamically add a tab and go to that tab. - angularjsXcode Tools for Core Animation Continue to Show Zero - iosAll Articles