SpokaneDude
SpokaneDude

Reputation: 4984

Unable to set the segue identifier in XCode 4.6 because Attributes Inspector is blank

I have an iPad app (XCode 4.6, iOS 6.2, ARC and Storyboards). Everything is connected properly using segues; however, when I click on a segue, I am presented with a blank Attributes inspector. Why and how do I fix it?

Here is the structure of the app:

enter image description here

And here is what I see when I click on any segue:

enter image description here

Upvotes: 0

Views: 526

Answers (1)

Steve Wilford
Steve Wilford

Reputation: 9012

You can't set an identifier of a segue that's created between a UINavigationController or a UITabBarController. This is expected behaviour.

Segues between other view controllers should work OK though. Try selecting a different file and then return to the storyboard or try restarting Xcode (fixes a lot of annoying problems for me).

Edit based on comment:

If I understand your UI layout (the screenshot is a bit difficult to make out fully) and problem correctly...

You'd have to create a good old fashioned IBAction method, hook up each UIButton and call setSelectedIndex: on the UITabBarController.

Upvotes: 3

Related Questions