Tab bar disappears after segue

Tab bar disappears after segue

By : user2951013
Date : November 17 2020, 11:58 AM
help you fix your problem If you don't use a navigation controller, then a "Show" segue presents the controller modally which covers the entire screen, including the tab bar. You should embed the b controller in a navigation controller, then the "Show" segue will do a push to viewcontroller1.
I_____ UINavigationController------b ---- viewcontoller1
code :

Share : facebook icon twitter icon
UINavigationBar disappears when another view segue's to it?

UINavigationBar disappears when another view segue's to it?

By : patrick-dd
Date : March 29 2020, 07:55 AM
it helps some times Rather than adding a back button you can use a custom segue class. Create a new file named "flip" and make it a subclass of UIStoryBoardSegue. Once the files are created open up flip.m and paste this code above @end
code :
- (void) perform {

UIViewController *src = (UIViewController *) self.sourceViewController;
UIViewController *dst = (UIViewController *) self.destinationViewController;
[UIView transitionWithView:src.navigationController.view duration:.8



                    [src.navigationController pushViewController:dst animated:NO];



Tabbar disappears after segue

Tabbar disappears after segue

By : Mark Stam
Date : March 29 2020, 07:55 AM
around this issue Make your TabBarController as InitialViewController and Embed your viewcontrollers with UINavigationController. This will not hide your Tabbar from bottom.
After segue using Storyboard ID UINavigationController disappears

After segue using Storyboard ID UINavigationController disappears

By : Dhanuja Wanniarachch
Date : March 29 2020, 07:55 AM
This might help you I don't think you want to use the code self.storyboard?.instantiateViewControllerWithIdentifier("login") as! LogInViewController. It looks like you are going from your signup controller to the login controller in your code, so you might want to add a segue connecting those 2 in your storyboard, and if you make it a segue of type 'show', then the navigation bar will stay intact. Then you can call performSegue on this segue.
TabBar disappears when programatic segue

TabBar disappears when programatic segue

By : kaviragul
Date : March 29 2020, 07:55 AM
Any of those help From your code, this is not segue by programmatically. You actually present a viewController on top of whatever you have. Therefore the tabBarController is cover.
To use segue in code, it should be something like this. - homeSegueID is the identifier you give when you created the segue in storyboard.
code :
performSegue(withIdentifier: "homeSegueID", sender: nil)
navigationController?.pushViewController(vc, animated: true)
Tab Bar disappears on segue

Tab Bar disappears on segue

By : user1849385
Date : March 29 2020, 07:55 AM
seems to work fine Don't add segue to open the "Information" ViewController which is part of UITabBarController.
You must have used didSelectRowAt for cell selection in tableview. Just add one line in it as it is :
code :
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
    tableView.deselectRow(at: indexPath, animated: true) {
    self.tabBarController?.selectedIndex = 1
Related Posts Related Posts :
  • Update tableView row from AppDelegate Swift 4
  • Assigning return value of a class method to a variable error
  • how to display circular progress in delphi ios apps?
  • I can't figure how to fix this Expected identifier or '('
  • How to Test APIs in Swift 4?
  • Link error /Build/Products/Debug-iphonesimulator file not found
  • working with a very large JSON object in iOS
  • Turn off part of the iPhone Screen
  • Phonegap 3.0 app with facebook login using xCode
  • How to add interstitial admob ads to my ios project
  • adding tapku calendar to ios app
  • Add an alertcontroller in a global swift file?
  • Take square image with Cordova (Phonegap) Camera API?
  • Amazon S3 policy allowing only upload not overwrite
  • How to change the UILabel content by tapping?
  • Adding checkmark to selected table cell also checks another table cell
  • UICollectionView cellForItemAtIndexPath indexPath row is nil
  • Resize and set quality on JPEG image while retaining EXIF in iOS
  • How to push rootviewcontroller in Ios
  • How to add UIBarbuttonItem at centre on UInavigationbar in iOS
  • Would this IOS device test crash be expected
  • PickerView not showing any values
  • How to set root view controller in storyboard animated with navigation controller programmatically
  • Can anyone suggest me the effective way to deal with s3 upload fail because of timezone difference issue?
  • Getting list of files in documents folder
  • Error while using Realm Object as a singleton. Is it a good idea?
  • inserting into SQLite database
  • More nodes than I should
  • Facebook IOS SDK navigate to another controller after login not working
  • Swift Array - use "Contains" of type AnyObject
  • Sidebar menu with indicate navigationbar on iOS
  • Programmatically set size of UIView from Storyboard
  • Navigation bar blink
  • Web services issue on POST method
  • Parse.com error 'Method not allowed when Pinning is enabled.' when I use a PFQueryTableViewController subclass
  • Swift can't send URLRequest at all?
  • No Provisiong profiles with a valid signing identity were found and Failed to locate or generate matching signing assets
  • iOS: how to set httponly flag for NSHTTPCookie
  • How to get the mac address of a beacon in objective-c without knowing its UUID, major and minor values?
  • tableView is not showing data from JSON in swift
  • iTunes reject app for date of birth
  • SWIFT reporting "Extra argument in call" - works in Playground
  • save data depending on passed value in swift
  • webview not showing on full Screen of iphone 6
  • Location Notification's based on Latest iOS Feature
  • Adjusting Height of UITableViewCell
  • How to show five digit unicode in iphone
  • unwind doesn't work
  • Confusion about coordinates, frames & child nodes in SpriteKit on iOS?
  • If Statements not being recognized by Xcode
  • readonly property in RubyMotion
  • 'No available types for source 1' when the app runs on my device(IPhone 6) swift
  • IOS:Remove view when clicked in background
  • Removing "\" from URL in iOS Swift
  • iOS - Send an email automatically (NOT from user's account)
  • The usage of NSNotificationCenter in the relationship of parent and children
  • When do Apple auto-renewable subscriptions renew?
  • Unknown large spacing between x-axis label and base of plot in core-plot
  • How do I change the displayed time format after NSTimer is initiated?
  • Swift JSON breaks when [ ] are used
  • shadow
    Privacy Policy - Terms - Contact Us © ourworld-yourmove.org