Vote count:
0
In my app there is a Login.storyboard
and Dashboard.storyboard
. Once I tap login button I am presenting Dashboard. When I tap logout button, all I do is perform unwind segue to Login. My DashBoard.storyboard
disappear, but my memory allocations still are the same. When I login again, I allocate a new objects, when I logout, nothing changes. Doing just two things (login (present storyboard), logout (unwind)) I only increase allocations, instead of decreasing it while logging out.
How to fix this? Is it normal?
asked 20 secs ago
Memory not released when storyboard disappear
Aucun commentaire:
Enregistrer un commentaire