ios - Z Index of image and separator in UITableViewCell -


i have uitableviewcell has image sits partly outside cell. see attached.

enter image description here

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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -