문제

Issue:

I have a Tab Bar Controller and in one of the tabs is a table view. Upon clicking a table cell, they proceed to a new view. If they click back from this view, they return back to the table view, but the Tab Bar DISAPPEARS!

Notes:

-Further yet, the view is still connected in the storyboard after I've shut the program down, but the Tab Bar isn't visible on that view

-The icon for this view appears differently if I reconnect it to the tab bar controller, the other views have a default "icon" which is a square, where as this view says "first" with a circle

Story Board layout attached

enter image description here

도움이 되었습니까?

해결책

If they click back from this view, they return back to the table view, but the Tab Bar DISAPPEARS!

I'm guessing that the way you set up this "return back" in the storyboard is wrong. You want to dismiss the modal view controller at this point (or use an unwind segue). Instead, I'm guessing you've drawn a new segue from the new view back to the table view, so you are getting a new table view lying on top of everything, and of course it is not the same as the one that's inside the tab bar controller.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top