I am using cycript,but I have tried some of these commands and not sure where I went wrong.
cy# UIApp.windows[0]
#"<UIWindow: 0x102d0b2d0; frame = (0 0; 320 568); gestureRecognizers = <NSArray: 0x28173ca50>; layer = <UIWindowLayer: 0x281977ca0>>"
Where I try to access the subview, there is no output:
cy# UIApp.windows[0].subviews[0]
cy# UIApp.windows[0].subviews[0].subviews[0]
throw new TypeError("undefined is not an object (evaluating 'UIApp.windows[0].subviews[0].subviews')")
By the way, is there any alternative to cycript since nowadays most of the apps are in objective -c?