ios - listviewcontroller leaving room for two tabbars at the bottom when loading the VC programmatically -


when load scene through normal segues, tabbar @ bottom , nice , clean. when come via code, loading tabbarcontroller, nav bar custom vc. loads perfect theres x amount of pixels tabbar, additional x amount of pixels blank between custom vc , tab bar. counting 2 tab bars.

override func prepareforsegue(segue:uistoryboardsegue, sender: anyobject!) {     if (segue.identifier == "searchsegue") {         let nav = segue.destinationviewcontroller as! uitabbarcontroller         let navcontroller = nav.viewcontrollers![0] as! uinavigationcontroller         let listcontroller = navcontroller.topviewcontroller as! recipelistviewcontroller         listcontroller.ingredientsearch = (self.ingredids string);      } } 

messed list view


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -