Xcode6 storyboard new push segue 后的视图控制器没有navigation item bug.


手动切一下 老的push,再切回来,就会出有了,我想是一个bug.


Xcode 6 Segue with UINavigationItem

favorite  

I've just created a Segue from a ViewController (which is embedded in a UINavigationController) to another ViewController. It seems like that the new Segue types do not create the UINavigationItem (which contains the title label) on Segue creation as the push Segue type did in iOS 7. I've noticed this fact because I couldn't enter any title for the "new" ViewController after I created the Segue. There is also no place where I can properly place a bar button item.

I couldn't find anything regarding this fact in the Segue documentation so I was wondering if the UINavigationItem isn't automatically being created anymore. It doesn't even show up in the document outline. Does somebody know something about that? Maybe it's just a Xcode Beta 3 issue?

Here is a picture of the segue in the attributes inspector:

enter image description here

ios xcode swift ios8 xcode6
shareimprove this question edited Jul 13 '14 at 12:08     asked Jul 13 '14 at 9:29 Linus
93821435
 
    
Are you sure it is a push segue? –  Rog Jul 13 '14 at 10:22
    
@Rog I've added a picture of the segue to the question. –  Linus Jul 13 '14 at 10:41
    
I guess it's a bug, it wouldn't make any sense removing it when it's a push segue. –  Linus Jul 13 '14 at 11:20
    
Have you tried Beta 3? –  Dehli Jul 13 '14 at 11:57
    
I'm sorry it's Beta 3. I'll correct it in the question. –  Linus Jul 13 '14 at 12:08
activeoldestvotes shareimprove this answer
answered Aug 6 '14 at 18:11 Steve
1,2411821
  add a comment