ios - Z Index of image and separator in UITableViewCell -
i have uitableviewcell has image sits partly outside cell. see attached.
however, separator line covering image. there way rid of separator line? best found turning off tableviewcell separators, don't want since messes ui. i'd able adjust uiimageview z-index or tableviewcell separator z-index.
i tried [self bringsubviewtofront:self.overflowimageview];
on uitableviewcell
doesn't change anything.
even if change width of separator 1px, i'd okay that, seems can't change separators on top , or bottom of tableview.
anyone have ideas on how image above cell?
you can change uiview
layer z-order using setzposition
. applied objects inherited uiview
. may bug, bringsubviewtofront
not working cases suppose to.
[yourview.layer setzposition:10];
higher number higher priority.
Comments
Post a Comment