ios - Xcode - Inferred navigation bar layout issues with tableview -
i having frustrating issue layout of tableview when have inferred navigation bar.
in order re-produce bug
1: create navigation based app.
2: create 2nd viewcontroller xib file included (in xib file, select top bar simulated).
3: on first screen, place button when clicked takes new controller created in step 2
4: on new xib file, place tableview on screen , setup delegate methods.
5: create 3rd viewcontroller xib file.
now under didselectrow table delegate method in 2nd screen, have setup take me 3rd screen. when app navigates new screen, button pressed, tableview pushed down height equal navigation bar. see images
originally tableview screen looks this
i select table row, taken 3rd screen, press button, , looks this
this happens in xib files. if create same functionality using storyboard instead of xib files, issue not occur. can fix removing inferred top bar, , instead manually placing navigation bar in xib file. shouldn't have each time, annoying.
this occurs when navigating new screen tableview, if use button instead navigate 3rd screen, no such issue occur.
is bug new version of xcode? had not noticed problem when navigating via tableviews.
Comments
Post a Comment