Storyboard doesn't contain a view controller with identifier
Fixed! Not only the identifier in the segue must be set, in my case DrivingDetails, but also the identifier in my tableViewController must be set as DrivingDetails...check my picture:
I also removed the navigation view controller so now the 2 table view controllers are connected directly with a "push" animation.
*****EDIT for XCODE 7.0*****
you have to set the storyboardId(in this case the viewController is embedded in a Navigation controller:
let lastMinVc = mainStoryBoard.instantiateViewControllerWithIdentifier("lastMinuteNavController") as! UINavigationController
Storyboard doesn't contain a view controller with identifier 'goToC'
Xcode 8.2.1
I thought CameraViewController
is in your Main
storyboard.
In Main
story board first select yellow button top of the appropriate viewController
and goto identity inspector -> identity -> Storyboard ID
enter your view controller identifier for this case goToC
Storyboard doesn't contain a view controller with identifier' only on Device
let storyboard = UIStoryboard(name: "Main_iPhone", bundle: nil)
let vc = storyboard.instantiateViewControllerWithIdentifier("POIListViewController") as! UIViewController
EDIT
Just CLEAN your project (CMD+SHIFT+K) as you have change the storyboard name I think.
Storyboard doesn't contain a view controller with identifier only on TestFlight
You've probably already found an answer by now and I suspect there are multiple ways to get there. But for other readers who've come here to solve this frustrating issue, this is what worked for me:
Open your storyboard and click the offending scene. If you check the Identity inspector, you may see something like this:
Click inside the field Module and explicitly select the module, even though it already seems to be correctly selected. It will now look like this:
Clean, build and run.
Storyboard () doesn't contain a view controller with identifier 'GroupProfileViewController''
- Make sure you set the identifier of the viewcontroller, lets say "GroupProfileViewController"
- Make sure this code is NOT in
viewDidLoad()
. If you have, consider doing this inviewDidAppear()
Present the code like this example:
if let storyboard = storyboard{
let vc = storyboard.instantiateViewController(withIdentifier: "GroupProfileViewController") as! GroupProfileViewController
self.present(vc, animated: true)
}
Storyboard doesn't contain a view controller with identifier 'TimeController'' error in Swift
Ensure you have inserted TimeController
as the Storyboard ID in your storyboard.
Storyboard doesn't contain a view controller with identifier ... when using multiple storyboard files
You have to create the new storyboard instance, and get the LoginViewController StoryboardId
//Here, create an instance of the second storyboard excluding the extension(.storyboard),
var storyBoard = UIStoryboard(name: "SecondStoryBoard", bundle: nil)
//Here instantiate view controller with the storyboard instance,
//Before that create a storyboardId for the corresponding view controller.
var loginVC = storyBoard.instantiateViewControllerWithIdentifier("loginViewController") as LoginViewController
//Here, the storyboard identifier is "loginViewController" which is created in the respective view controller's "Identity" inspector
Hope this helps, Happy Coding :)
Storyboarddoesn't contain a view controller with identifier
Make sure following field of the PageViewController is filled with identifier "PageViewController":
Related Topics
Outlets Cannot Be Connected to Repeating Content Ios
How to Put Buttons Over Uitableview Which Won't Scroll With Table in Ios
How to Receive Nsnotifications from Uiwebview Embedded Youtube Video Playback
How to Scale Down a Uiimage and Make It Crispy/Sharp At the Same Time Instead of Blurry
Enabling Auto Layout in iOS 6 While Remaining Backwards Compatible With iOS 5
Uitableview Cell Selected Color
iPhone Sdk: Differencebetween Loadview and Viewdidload
Disable Uiscrollview Scrolling When Uitextfield Becomes First Responder
How to Add a Touch Event to a Uiview
Determine If Mkmapview Was Dragged/Moved
Swift Saving and Retrieving Custom Object from Userdefaults
Create Uiimage With Solid Color in Swift
Shouldautorotatetointerfaceorientation Not Being Called in iOS 6
How to Set the Width of a Cell in a Uitableview in Grouped Style
How to Write Dispatch_After Gcd in Swift 3, 4, and 5