iOS holding UIView references in a MutableArray with ARC
I try to manage several views and keep those references in a mutable
array. If I both add a view reference in a mutable array and also added
into a view, as a subview. And then the reference count seems not correct.
Will cause the bad access error.
So my question is that is there a good way to manage those views. For
example, if I need to reuse the views. Keeping them in a mutable array
when no used and reuse them later.
No comments:
Post a Comment