iOS 8.3 - UITableView cell not aligned, indentation to the left -
iOS 8.3 - UITableView cell not aligned, indentation to the left -
i've stumbled upon unusual behaviour, cells added uitableview
indented left. happens on ios 8.3, , can't find clear pattern when happens.
anyone experiencing same thing?
my tableviewcells seeing increased left , right margins when run on ios 8.3 did not see on previous versions.
setting:
self.contentview.preservessuperviewlayoutmargins = no;
fixed problem , kept margins consistent on versions aware in available on ios 8+.
so here, example, might this:
- (void)awakefromnib { if ([self.contentview respondstoselector:@selector(setpreservessuperviewlayoutmargins:)]) { self.contentview.preservessuperviewlayoutmargins = no; } }
ios uitableview uiview ios8.3
Comments
Post a Comment