ios - How to get UITableViewCell subviews in iOS8? -
where can find uitableviewcelleditcontrol
inside uitableviewcell
. i'm running old code needs ui fix on quick deadline. don't have enough time couldn't find other way.
the app should supporting ios 8.0 , above.
how it?
current code:
for (uiview *subview in [self subviews]) { if ([subview iskindofclass:nsclassfromstring(@"uitableviewcelleditcontrol")]) { //this condition never gets true ... } }
like above, i'm looking for
uitableviewcellreordercontrol
uitableviewcelldeleteconfirmationcontrol
uitableviewcelldeleteconfirmationcontrol_legacy
update:
found that, shall access & uitableviewcelleditcontrol
uitableviewcellreordercontrol
when table view in editing mode. don't found uitableviewcelldeleteconfirmationcontrol
, uitableviewcelldeleteconfirmationcontrol_legacy
.
Comments
Post a Comment