Open WolfThatGoesMoo opened 6 years ago
Hey! You're good, this is fine for asking questions.
So, the "shortcuts" area is part of FLEX(ing), not swizzle, as you may know. The shortcuts just appear for certain classes like UIViews or UIViewControllers to make tinkering with certain properties quick and easy.
Anyway, you're on the right track. After that, you'd want to type *hidden
to reveal methods containing the word "hidden". Searching for methods in swizzle can be confusing at first: how I intended it to work is that searching for -foo
would search for instance methods beginning with "foo" while using +
instead of -
would search for class methods. To search for both, you can use the wildcard *
operator.
Screenshot below showing the method you're looking for:
https://i.imgur.com/fL6enol.png
I have a feeling it won't work though, unless something is explicitly calling setHidden:
. I'd try overriding them both to see if it works at all.
Note that RCTView
is a react native view, which is used everywhere in react native apps: if it does work it will probably hide almost everything in the app!
Sorry, hit enter too soon and it posted anyway! This isn't an issue with it, but I'm trying to figure out where to post/ask for help. Everything is working wonderfully, I just have a question.
When I use select and select an alert for example, then click on view (within Flexing) it will take me to a long list of items, where I can eventually click on the little i in a circle to get details. I've gathered some information from it such as:
Details: <RCTView: 0x15924fb50; reactTag: 30; frame = (0 0; 375 667); layer = <CALayer: 0x159245ce0>
Shortcuts: