What is best for the device when temporarily hiding the view (for example, until the download is complete)?
Which is better in terms of memory and what is better in terms of performance? I know that Apple wrote about this somewhere, but I cannot find it.
Which is better in terms of memory
removeFromSuperview . ? , . , - (, ivar), .
removeFromSuperview
?
setHidden: . ? - . drawRect BOOL. , .
setHidden:
, :
setHidden
alpha
0
setHidden, but it first checks if
removeFromSuperView
frame.origin.y=-10000
Source: https://habr.com/ru/post/1526536/More articles:Cobertura Java7 try with a resource - javaСтранное поведение распознавателя Java XPath для документов с пространствами имен - javaTryValidateObject and IValidatableObject not starting - c #Remove border with matplotlib pcolor - pythonGet username and process id in bash - bashWhat is the use of XML comments in C # - c #to detect notifications if the application starts directly - cordovaChange state when user selects notification from iOS Notification Center in Cordoba - iosjava.sql.SQLException: ResultSet closed - javaHow to return maximum identifier column via Hibernate, access to Oracle DB? - javaAll Articles