I'm attempting a larger format prototype where I switch between multiple "views", which are parent layers holding a a mix of imagery and scroll components, etc.
I am having a lot of trouble finding a method that allows the active view to also be "on top" so gestures will register. It seems like "bringToFront()" isn't working when I try to initialize one of the views as the default, for example. I'm also having no luck using ".index". All views appear to be siblings so I don't know what's wrong.
- Should I use opacity or "visible" for the inactive states of the views?
- Do I need to place all the views into a super layer for things like indexing to work, even though they're all siblings now?
** What are some general methods others have used when attempting something similar?**
Thanks in advance!