Reputation:
I have 2 UIImageViews, IMG1 and IMG2 . Somesomes I want IMG1 to appear above IMG2 , and at other times I want IMG2 to appear above IMG1. How do I do this ?
Upvotes: 0
Views: 621
Reputation: 170309
Also,
[self.view exchangeSubviewAtIndex:imageView1Index withSubviewAtIndex:imageView2Index];
might do this, if you know the indices of the respective views.
Upvotes: 3