ios - View controller in storyboard always gets presented from bottom -


i have view controller in storyboard in , image

i'd included following code show particular view controller, problem is, no matter code use make transition, if it's being pushed side of screen(like xib's push), shows bottom.

 uistoryboard * storyboard = self.storyboard;       dashboardviewcontroller * dbvc = [storyboard instantiateviewcontrollerwithidentifier:@"navigforhomepage"];   [self.navigationcontroller showviewcontroller: dbvc sender:self]; 

i tried pushviewcontroller(also xcode says push deprecated), navigation bar disappears.

my storyboard has navigationcontroller initially, i'd linked other view controller's ctrl+drag , storyboard segue kind show(e.g.push), in-between - dashboardviewcontroller, included navigationcontroller different navigation bar, mistake?

i couldn't understand concept, question how normal push transition? appreciated thanks.

uistoryboard * storyboard = self.storyboard; dashboardviewcontroller * dbvc = [storyboard instantiateviewcontrollerwithidentifier:@"navigforhomepage"]; [self.navigationcontroller pushviewcontroller:dbvc animated:yes]; 

Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -