I have a view with approximately 30 subviews on it. I want to add code to my subview view manager, so when I click subview, the subview expands to fill the screen.
I use [self.view setFrame:rect] to extend the subview, and it works fine. The problem is that some of the other 29 subzones above the supervision I just clicked on, so they are still visible.
I tried using bringSubviewToFront from the parent view controller, but this does not seem to have any effect. Is there any code that I can add to the subview viewcontroller class to make this happen?
ios
MusiGenesis Mar 17 2018-11-21T00: 00Z
source share