window is even invisible because of its hidden property. This leaves us with the 2nd window
only, let’s test it out in Cycript.
cy# [#0x1579ab70 setHidden:YES]
After this command, not only the input box but also the whole keyboard are hidden, as
shown in figure 10-5:
Figure 10- 5 The bottom half is hidden
Now we can confirm that “Text Message” is located right in this window. Keep looking for
it using Cycript.
cy# [#0x1579ab70 setHidden:NO]
cy# [#0x1579ab70 subviews]
@[#"<UIInputSetContainerView: 0x1551fb10; frame = (0 0; 320 568); autoresize = W+H;
layer = <CALayer: 0x1551f950>>"]
cy# [#0x1551fb10 subviews]
@[#"<UIInputSetHostView: 0x1551f5e0; frame = (0 250; 320 318); layer = <CALayer:
0x1551f480>>"]
cy# [#0x1551f5e0 subviews]
@[#"<UIKBInputBackdropView: 0x16827620; frame = (0 65; 320 253); userInteractionEnabled
= NO; layer = <CALayer: 0x1681c3f0>>",#"<_UIKBCompatInputView: 0x157b88d0; frame = (0
65; 320 253); layer = <CALayer: 0x157b8a10>>",#"<CKMessageEntryView: 0x1682ca50; frame =
(0 0; 320 65); opaque = NO; autoresize = W; layer = <CALayer: 0x168ec520>>"]
There are 3 subviews in the above code, which one does “Text Message” reside? Let’s test
them one by one.
cy# [#0x16827620 setHidden:YES]
After the above command, the view looks like figure 10-6, indicating that this view is just