Quote:
Originally Posted by mndhkr
Code:
while([view.subviews count] > 0)
[[view.subviews lastObject] removeFromSuperview];
i think that a for cycle may cause some problem with the array varying in count while removing the subviews...
|
And thats what BrianSlick said.