Meta interview question

How does memory management works on iOS