The view controller after Xcode6 storyboard new push segue does not have a navigation item bug.

Source: Internet
Author: User

Manually cut the old push, and then cut back, there will be, I think is a bug.

Xcode 6 Segue with Uinavigationitem
Up vote0down Votefavorite

I ' ve just created a Segue from a viewcontroller (which was embedded in a uinavigationcontroller) to another viewcontroller. It seems like that the new Segue types does not create the Uinavigationitem (which contains the title label) on Segue creat Ion 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 a Utomatically 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's a picture of the segue in the Attributes Inspector:

iOS Xcode Swift iOS8 xcode6
ShareImprove this question Edited Jul at 12:08 Asked Jul at 9:29Linus
9382
Is sure it is a push segue? –rog Jul at 10:22
@Rog I ' ve added a picture of the segue to the question. –linus Jul 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 at 11:20
Have you tried Beta 3? –dehli Jul at 11:57
I ' m sorry it ' s Beta 3. I ' ll correct it in the question. –linus Jul at 12:08
Add a Comment
1 answeractiveoldestvotes
up vote1down vote

It seems like a bug, it normally fixes it self after restarting Xcode but quick fix was just to drag a navigation item from The object library onto the view controller.

answered  Aug 6 ' in 18:11 Steve
1,2411 821
shareimprove this answer
Add a Comment

The view controller after Xcode6 storyboard new push segue does not have a navigation item bug.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.