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

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -