cy# [#0x16389000 subviews]
@[#"<CKMessageEntryRichTextView: 0x16295200; baseClass = UITextView; frame = (0 20.5;
203.5 36.5); text = ''; clipsToBounds = YES; opaque = NO; gestureRecognizers = <NSArray:
0x168f5a60>; layer = <CALayer: 0x168f59c0>; contentOffset: {0, 0}; contentSize: {203.5,
36.5}>",#"<CKMessageEntryTextView: 0x15ad2a00; baseClass = UITextView; frame = (0 0;
203.5 36.5); text = ''; clipsToBounds = YES; opaque = NO; gestureRecognizers = <NSArray:
0x1578e600>; layer = <CALayer: 0x157dcff0>; contentOffset: {0, 0}; contentSize: {203.5,
36.5}>",#"<UIView: 0x157e9160; frame = (5 28; 193.5 0.5); layer = <CALayer:
0x15733bd0>>",#"<UIImageView: 0x157308d0; frame = (-0.5 55; 204 2.5); alpha = 0; opaque
= NO; autoresize = TM; userInteractionEnabled = NO; layer = <CALayer:
0x15730950>>",#"<UIImageView: 0x157ef530; frame = (201 0; 2.5 57.5); alpha = 0; opaque =
NO; autoresize = LM; userInteractionEnabled = NO; layer = <CALayer: 0x157ef5b0>>"]
By hiding these views one by one, we can find that when executing “[#0x16295200
setHidden:YES]”, only “Text Message” is hidden, other control objects are not affected, as
shown in figure 10-9.
Figure 10- 9 placeholder is hidden
It means that CKMessageEntryRichTextView is our target view. Open
CKMessageEntryRichTextView.h and see if there’s any “placeholder”, as shown in figure 10-10.