그 이유는 NSTimer를 사용할 때 내부적으로 UIView의 레퍼런스 카운터를 올려주고 UIView가 SuperView에서 Remove되더라도 이때 레퍼런스 카운터가 0이 되지 않으므로 Dealloc되지 않는다.
해결 방법
SuperView에서 Remove해주기 전에 Timer역시 Invalidate해주어야 한다.
끝.
Subscribe to:
Post Comments (Atom)
Task in UnrealEngine
https://www.youtube.com/watch?v=1lBadANnJaw
-
Unity released very good FPS example for people and I decided to analysis how they make this. Personally I wanted to show you how I analys...
-
Because nature of rotation angle, when we interpolate angles we could have some problems. For instance we have angle A0 and A1. A0 is -...
-
For instance I have 45 degree rotation quaternion p. and if I take p ^ (1/3) then I'll get 15 degree rotation quaternion. This is geomet...
No comments:
Post a Comment