Make sure to assert(view.retainCount == 1) before removing. For if you have reference count error (retainCount > 1) and the view will not get removed - but you can't see it since the alpha has set to 0.0.
Of course, you can set the alpa = 0.5 in debug mode to "see" if it's removed finally.
No comments:
Post a Comment