ios - Auto Layout iOS7 -> iOS6 with status bar -


i'm struggling issue using constraints under xcode 5.

i building app ios7 while trying keep ios6 ui compatibility.

i facing 1 ui issue using interface builder.

i have table view adjusts according height of superview using constraints (set in interface builder).

it works under ios7.1 portrait , landscape orientation.

my issue running on ios 6.1, views shrinks/enlarges depending of superview height, goes 20pixels more on bottom. because of status bar.

it doesn't make sense me , since autolayout should take care of , right ?

i've tried solutions here obviously, find ways go ios6 ios7 while preventing view showing under status bar. doesn't quite apply issue.

any on how could/should solve problem ?

thx

update uiview frame programmatically when ios version < 6

if ([[[uidevice currentdevice] systemversion] floatvalue] < 7)  {        // update frame  }  else {     //update frame in ui } 

or check below link, maybe helpful

ios 7 status bar ios 6 default style in iphone app?


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -