ios - UITableviewCell recursiveDescription showing no subviews -
i'm creating prototype cell using xib , registering xib after loading uitableview
. cell has been placed 2 uilabels
as:
i printed cell recursivedescription in cellforrowatindexpath
keeping breakpoint.
(lldb) po cell.recursivedescription <happeningnowsessionstableviewcell: 0x7fd93bc51300; baseclass = uitableviewcell; frame = (0 0; 380 65); autoresize = rm+bm; layer = <calayer: 0x7fd93bc952d0>> | <uitableviewcellcontentview: 0x7fd93bcf6460; frame = (0 0; 380 65); clipstobounds = yes; opaque = no; gesturerecognizers = <nsarray: 0x7fd93bc4b350>; layer = <calayer: 0x7fd93bca0030>> | <_uitableviewcellseparatorview: 0x7fd93bcb6b60; frame = (15 64; 365 1); layer = <calayer: 0x7fd93bca4410>>
i wondered see no subviews in uitableviewcellcontentview
. i'm able visualize assigned data in ui.
i need subviews of cell's contentview per project requiremnt.
why occuring so?
please take @ uitableviewcells programming guide. particularly part programmatically adding subviews cell’s content view.
it states subviews uitableviewcell added -contentview
property , not -subviews
Comments
Post a Comment